ps_open_image_file

(PECL ps >= 1.1.0)
Opens image from file
int ps_open_image_file ( resource $psdoc, string $type, string $filename [, string $stringparam [, int $intparam = 0 ]] )

Loads an image for later use.

Parameters:
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:

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() -

ps_place_image() -

ps_close_image() -

doc_php
2016-02-24 16:04:29
Comments
Leave a Comment

Please login to continue.