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_PLACE_IMAGE(3) Library Functions Manual PS_PLACE_IMAGE(3)NAME
PS_place_image -- Places image on the page
SYNOPSIS
#include <pslib.h>
void PS_place_image(PSDoc *psdoc, int imageid, float x, float y, float scale)
DESCRIPTION
Places a formerly loaded image at the current point on the page. The image is scaled if x and y have values unequal to 1.
The image data is ascii85 encoding which is only 20 percent larger than the raw binary data of the image (The binary data is not equal to
the file size but somewhat smaller, because the file also contains an image header.). You can turn on hex encoding by setting the parameter
`imageencoding' to `hex'. Hex encoding doubles the size of the image data.
Since version 0.4.5 of pslib images are fully read and saved into the output postscript file when they are opened with PS_open_image(3) or
PS_open_image_file(3). Later calls of PS_place_image(3) just replay the image. This behaviour can be turned off by setting the parameter
`imagereuse' to false with PS_set_parameter(3).
If image reuse is not turned of, this function may be called within a template.
SEE ALSO PS_open_image(3), PS_open_image_file(3)AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx.
PS_PLACE_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)