array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.ps-open-image-file.php', 1 => 'ps_open_image_file', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS Funktionen', ), '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' => 'en', '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 — Opens image from file
$psdoc
,$type
,$filename
,$stringparam
= ?,$intparam
= 0Loads 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.