pdf_open_image

(PHP 4 >= 4.0.5, PECL)

pdf_open_image -- Use image data [deprecated]

Description

int pdf_open_image ( resource p, string imagetype, string source, string data, int length, int width, int height, int components, int bpc, string params )

Uses image data from a variety of data sources. Supported types are jpeg, ccitt, raw. Supported sources are memory, fileref, url. len is only used when type is raw, params is only used when type is ccitt.

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