(PHP 3, PHP 4 , PHP 5)
imagedestroy() frees any memory associated with image image. image is the image identifier returned by the imagecreate() function.