PS_OPEN_IMAGE_FILENamePS_open_image_file -- Opens an image from file Synopsis#include <pslib.h> int PS_open_image_file(PSDoc *psdoc, const char *type, const char *filename, const char *stringparam, int intparam) DESCRIPTIONThis 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). RETURN VALUEReturns identifier of image or zero in case of an error.
The identifier is a positiv number greater 0.
|