Man Linux: Main Page and Category List

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, 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 VALUE

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

SEE ALSO

       PS_open_image(3), PS_place_image(3), PS_close_image(3)

AUTHOR

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