(PHP 3, PHP 4, PHP 5)
imagedestroy() frees any memory associated with image image.
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
Returns TRUE on success or FALSE on failure.