略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ps_open_image_file

2024-11-15

ps_open_image_file

(PECL ps >= 1.1.0)

ps_open_image_fileOpens image from file

说明

ps_open_image_file(
    resource $psdoc,
    string $type,
    string $filename,
    string $stringparam = ?,
    int $intparam = 0
): int

Loads an image for later use.

参数

psdoc

Resource identifier of the postscript file as returned by ps_new().

type

The type of the image. Possible values are png, jpeg, or eps.

filename

The name of the file containing the image data.

stringparam

Not used.

intparam

Not used.

返回值

Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0.

参见

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-open-image-file.php

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