pdf_open_image_file

(PHP 3 CVS only, PHP 4, PECL)

pdf_open_image_file -- Read image from file [deprecated]

Description

int pdf_open_image_file ( resource p, string imagetype, string filename, string stringparam, int intparam )

Opens an image file. Supported types are jpeg, tiff, gif, and png. stringparam is either empty, mask, masked, or page. intparam is either 0, the image id of the applied mask, or the page. Parameters stringparam and intparam are optional before PHP 4.3.5 or with PDFlib less than 5.

This function is deprecated since PDFlib version 5, use pdf_load_image() instead.