您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

ps_close_image

(PECL ps:1.1.0-1.3.5)

ps_close_image — Closes image and frees memory

说明

void ps_close_image ( resource $psdoc , int $imageid )

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 or FALSE on failure.