ps_close_image
(PECL ps >= 1.1.0)
ps_close_image — Closes image and frees memory
Описание
ps_close_image
( resource
$psdoc
, int $imageid
) : void|falseCloses 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
в случае возникновения ошибки.
Смотрите также
- ps_open_image() - Reads an image for later placement
- ps_open_image_file() - Opens image from file