首页 话题 小组 问答 好文 用户 我的社区 域名交易 唠叨

[函数]ps_open_image_file()函数—用法及示例

发布于 2025-05-02 13:46:57
0
22

(PECL ps >= 1.1.0)

ps_open_image_file — 从文件中打开图像

说明

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

加载一个图像供以后使用。


参数
psdoc
postscript文件的资源标识符,由ps_new()返回。

type
图像的类型。取值为png、jpeg或eps。

filename
包含图像数据的文件的名称。

stringparam
Not used.

intparam
Not used.

返回值
返回图像标识符,如果出现错误则返回零。标识符是大于0的正数。

评论
一个月内的热帖推荐
啊龙
Lv.1普通用户

9545

帖子

31

小组

3242

积分

赞助商广告
站长交流