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_BEGIN_TEMPLATE(3) Library Functions Manual PS_BEGIN_TEMPLATE(3)NAME
PS_begin_template -- Starts a new template
SYNOPSIS
#include <pslib.h>
int PS_begin_template(PSDoc *psdoc, float width, float height)
DESCRIPTION
Starts a new template which must be ended by PS_end_template(3). Templates are similar to macros which can be placed on a page like images.
Within a template one can call any drawing function. Once a template has been ended by PS_end_template(3) it can be placed on a page by
PS_place_image(3). Templates are commonly used for repeating objects like page headers in order to minimize the document size.
If image reuse is not turned off (since version 0.4.5 of pslib it is always turned on), PS_place_image(3) may also be called
within a template in order to include eps or raster images.
RETURN VALUE
Returns an id for referencing the template.
SEE ALSO PS_end_template(3), PS_place_image(3)AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx.
PS_BEGIN_TEMPLATE(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)