PS_OPEN_IMAGE_FILE(3) Library Functions Manual PS_OPEN_IMAGE_FILE(3)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 be placed on a page with
PS_place_image(3).
Since version 0.4.5 of pslib images are read by default for later reuse. This means that the image is saved into a so called reusable
stream object. Later calls of PS_place_image(3) will only put a short sequence of postscript code into the output file replay-
ing the image. This reduces the overall postscript file size, speeds up its processing by the postscript rip and allows to place images
into templates. This behaviour can be turned off by setting the parameter `imagereuse' to false with PS_set_parameter(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.
PS_OPEN_IMAGE_FILE(3)
Check Out this Related Man Page
PS_OPEN_IMAGE(3) Library Functions Manual PS_OPEN_IMAGE(3)NAME
PS_open_image -- Reads an image for later placement
SYNOPSIS
#include <pslib.h>
int PS_open_image(PSDoc *psdoc, char *type, char *source, char *data, int lenght, int width, int height, int components, int bpc, const
char *params)
DESCRIPTION
Reads an image which is already available in memory. The parameter source is currently not evaluated and assumed to be `memory'. The param-
eter type can be either `raw' or `eps'. Images in raw format are expected to be a stream of pixels starting in the upper left and ending in
the lower right corner. Each pixel is a tuple of components representing the colors. Each component consists of bpc bit. Color imgags
expect the components to be stored in RGB or CMYK order. The number of components implies the colorspace. 4 components imply a CMYK image
and not an RGB image with an alpha channel. This restriction may be removed in later versions.
EPS images are expect as stored in a file. There is no need to set any other paramter. The height und width of the image is taken from the
bounding box within the image data.
Since version 0.4.5 of pslib images are read by default for later reuse. This means that the image is saved into a so called reusable
stream object. Later calls of PS_place_image(3) will only put a short sequence of postscript code into the output file replay-
ing the image. This reduces the overall postscript file size, speeds up its processing by the postscript rip and allows to place images
into templates. This behaviour can be turned off by setting the parameter `imagereuse' to false with PS_set_parameter(3).
RETURN VALUE
Returns identifier of the image or zero in case of an error. The identifier is a positiv number greater 0.
SEE ALSO PS_open_image_file(3), PS_place_image(3), PS_close_image(3)AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx.
PS_OPEN_IMAGE(3)
sorry, it is a dumb question, but i could not find any answer in anything else.
does anybody know whether there is any postscript file reader for HP-Unix?
:) (1 Reply)
Hi All,
I am trying to convert my file containing a image file (bmp,jpg, or gif ) into a postscript format on solaris.
I have configured the printer with following configuration,
PrinterName : psPrinter
Print Server : "machine name"
Printer Port : /dev/null
Printer Type :... (1 Reply)
G'day,
I've a Solaris 9 box & I've configured a HP Laserjet for postscript printing.
When my client prints an English postscript file, it gets printed fine. But when he sends a Chinese postscript file, there is no output at the printer.
Is there anything I need to set for Chinese... (0 Replies)
Hi everybody,
I have more tan 300 images postscripts (.ps) in my UNIX enviroment.
I would like to have all these images in a single Power Point presentation (windows enviroment).
Anybody has a clue how to convert all those .ps file into a format recognized by Power Point in an automatic... (1 Reply)
Hi,
I have several folders full of image sequences from an animation.
The image frames are named Frame0001.png to Frame0900.png, somewhere along the way the images have been named in reverse order.
Is there a script that read the contents of a folder and renumber the files Frame0001.png -... (1 Reply)
I have images in PS that I want to convert to JPG (unfortunately, I need to use them in Powerpoint! :eek:). The problem is that the edges of the image get chopped off when I use:
convert filename.ps filename.jpg
So, for example, in my plots, the top and bottom labels for the x-axis are... (0 Replies)
Hello everyone:
Im not going to explain about kickstart, i supposed you know, that one of the features of this program is to run a postscript after installation.So after install packages you can run a set of commands to make a "first-configuration" of your system.
Usually people writes... (0 Replies)
Hello !
I have a file structure like this:
1_0/file1.tiff
1_1/file2.tiff
1_2/file3.tiff
1_3/file4.tiff
1_4/file5.tiff
1_5/file6.tiff
1_6/file7.tiff
2_0/file8.tiff
2_1/file9.tiff
2_2/file10.tiff
2_3/file11.tiff
etc.
There is only one file in one directory.
I'd like to have files... (8 Replies)