PHP 8.3.4 Released!

ps_open_image_file

(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

ps_new() が返す、postscript ファイルのリソース ID。

type

画像の形式。pngjpeg あるいは eps

filename

画像データを含むファイルの名前。

stringparam

使用されません。

intparam

使用されません。

戻り値

成功した場合に画像の ID を、失敗した場合にゼロを返します。 ID は、0 より大きい正の数値です。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top