ps_close_image

(PECL ps >= 1.1.0)

ps_close_imageCloses image and frees memory

说锟斤拷

ps_close_image ( resource $psdoc , int $imageid ) : void

Closes an image and frees its resources. Once an image is closed it cannot be used anymore.

锟斤拷锟斤拷

psdoc

Resource identifier of the postscript file as returned by ps_new().

imageid

Resource identifier of the image as returned by ps_open_image() or ps_open_image_file().

锟斤拷锟斤拷值

Returns NULL on success 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE.

锟轿硷拷