int PDF_open_image
(int PDF-document, string imagetype, string source, string data, long length, int width, int height, int components, int bpc, string params)
Use image data from a variety of data sources. Supported types are "jpeg", "ccitt", "raw". Supported sources are "memory", "fileref", "url". len is only used for type="raw", params is only used for type="ccitt".