PHP Manual
Prev |  | Next

# pdf_open_image_file

(PHP 4 >= 4.0.0)

pdf_open_image_file -- Reads an image from a file

## Description

``int pdf_open_image_file` (int PDF-document, string imagetype, string filename [, string stringparam [, string intparam]])`

Open an image file. Supported types are "jpeg", "tiff", "gif", and "png". `stringparam` is either "", "mask", "masked", or "page". `intparam`is either 0, the image id of the applied mask, or the page.

Prev | Home | Next
pdf_open_image | Up | pdf_open_jpeg