(PECL ps >= 1.1.0)
ps_open_image_file — Opens image from file
$psdoc,$type,$filename,$stringparam = ?,$intparam = 0Loads an image for later use.
psdocResource identifier of the postscript file as returned by ps_new().
type
The type of the image. Possible values are png,
jpeg, or eps.
filenameThe name of the file containing the image data.
stringparamNot used.
intparamNot used.
Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0.