(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的正数。