/* Place an image at the lower left corner (x, y), and scale it. */
PDFLIB_API void PDFLIB_CALL
PDF_place_image(PDF *p, int image, float x, float y, float scale);
/* Use image data from a variety of data sources. Returns an image descriptor
or -1. 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". */
PDFLIB_API int PDFLIB_CALL
PDF_open_image(PDF *p, const char *type, const char *source, const char *data, long length, int width, int height, int components, int bpc, const char *params);
/* Open an image for later use. Returns an image descriptor or -1. Supported
types are "jpeg", "tiff", "gif", and "png" (depending on configuration,
however). stringparam is either "", "mask", "masked", or "page". intparam
is either 0, the image number of the applied mask, or the page. */