array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.ps-open-image-file.php', 1 => 'ps_open_image_file', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS 関数', ), 'prev' => array ( 0 => 'function.ps-open-file.php', 1 => 'ps_open_file', ), 'next' => array ( 0 => 'function.ps-open-image.php', 1 => 'ps_open_image', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/ps/functions/ps-open-image-file.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ps >= 1.1.0)
ps_open_image_file — ファイルから画像を開く
$psdoc
,$type
,$filename
,$stringparam
= ?,$intparam
= 0後で使用するために、画像を読み込みます。
psdoc
ps_new() が返す、postscript ファイルのリソース ID。
type
画像の形式。png
、
jpeg
あるいは eps
。
filename
画像データを含むファイルの名前。
stringparam
使用されません。
intparam
使用されません。
成功した場合に画像の ID を、失敗した場合にゼロを返します。 ID は、0 より大きい正の数値です。