PS_OPEN_IMAGE_FILE(3) 1 PS_OPEN_IMAGE_FILE(3)
ps_open_image_file - Opens image from file
SYNOPSIS
int ps_open_image_file (resource $psdoc, string $type, string $filename, [string $stringparam], [int $intparam])
DESCRIPTION
Loads an image for later use.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $type
- The type of the image. Possible values are png, jpeg, or eps.
o $filename
- The name of the file containing the image data.
o $stringparam
- Not used.
o $intparam
- Not used.
RETURN VALUES
Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0.
SEE ALSO
ps_open_image(3), ps_place_image(3), ps_close_image(3).
PHP Documentation Group PS_OPEN_IMAGE_FILE(3)