ps_close_image
PHP function
Edit on GitHub ✎
(PECL ps >= 1.1.0)
Closes image and frees memory
Description
ps_close_image(resource $psdoc, int $imageid): void|false
Closes an image and frees its resources. Once an image is closed it cannot be used anymore.
Parameters
psdocResource identifier of the postscript file as returned by
ps_new().imageidResource identifier of the image as returned by
ps_open_image()orps_open_image_file().
Return Values
Returns null on successFalseforfailure.