#include <pslib.h>
int PS_open_image_file(PSDoc *psdoc, const char *type, const char *filename, const char *stringparam, int intparam)
This function reads image data from a file. It can read png, jpeg, gif, tiff, and eps files. png, jpeg, gif, and tiff images can only be read if pslib has been compiled with support for those formats. Once an image has been loaded it can place on a page with PS_place_image(3).
Returns identifier of image or zero in case of an error. The identifier is a positiv number greater 0.
PS_open_image(3), PS_place_image(3), PS_close_image(3)
This manual page was written by Uwe Steinmann uwe@steinmann.cx.