PDF_open_gif
PDF_open_image
PDF Functions
PHP Manual

# 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.

This function is deprecated since PDFlib version 5, use PDF_load_image with the colorize, ignoremask, invert, mask, masked, and page options instead.