略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ps_close_image

2024-12-22

ps_close_image

(PECL ps >= 1.1.0)

ps_close_imageCloses image and frees memory

说明

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.

参数

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.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.ps-close-image.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3