search for in the  
<imagedashedlineimageellipse>
Last updated: Thu, 19 May 2005

imagedestroy

(PHP 3, PHP 4, PHP 5)

imagedestroy -- Destroy an image

Description

bool imagedestroy ( resource image )

imagedestroy() frees any memory associated with image image. image is the image identifier returned by the imagecreate() function.



User Contributed Notes
imagedestroy
dan at mlodecki dot net
04-Mar-2004 06:42
I have noticed that gd drawing functions can behave oddly if there is a previous image which has not been imagedestroy()'ed.  You should always imagedestroy when you are done with an image object.

<imagedashedlineimageellipse>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT