Manual do PHP
Anterior |  | Próxima

# ps_close_image

(PECL)

ps_close_image -- Closes image and frees memory

## Descrição

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.

## Parâmetros

`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().

## Valores de retornado

Returns `NULL` on success or `FALSE` on failure.

## Veja também

ps_open_image()
ps_open_image_file()

Anterior | Principal | Próxima
ps_clip | Acima | ps_close