man PS_open_image_file (Fonctions bibliothèques) - Opens an image from file

NAME

PS_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)

DESCRIPTION

This function reads image data from a file. It can read png, jpeg and eps files. png and jpeg 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 VALUE

Returns identifier of image or zero in case of an error. The identifier is a positiv number greater 0.

SEE ALSO

AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.