imagedestroy

(PHP 3, PHP 4, PHP 5)

imagedestroy -- Destroy an image

Описание

bool imagedestroy ( resource image )

imagedestroy() frees any memory associated with image image.

Список параметров

image

An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.