ps_open_image_file
PHP function
Edit on GitHub ✎
(PECL ps >= 1.1.0)
Opens image from file
Description
ps_open_image_file(resource $psdoc, string $type, string $filename, [string $stringparam], int $intparam = 0): int
Loads an image for later use.
Parameters
psdocResource identifier of the postscript file as returned by
ps_new().typeThe type of the image. Possible values are
png,jpeg, oreps.filenameThe name of the file containing the image data.
stringparamNot used.
intparamNot used.
Return Values
Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0.