Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_open_image_file(3) [debian man page]

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)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

postscript reader for hp-unix

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)
Discussion started by: sskb
1 Replies

2. UNIX for Dummies Questions & Answers

Error when converting to Postscript format

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)
Discussion started by: zing
1 Replies

3. UNIX for Dummies Questions & Answers

Printing Chinese postscript file

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)
Discussion started by: Albert J.
0 Replies

4. UNIX for Dummies Questions & Answers

Automatized .ps into .tiff conversion

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)
Discussion started by: cordobapab
1 Replies

5. Shell Programming and Scripting

Reverse numbering of image sequence

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)
Discussion started by: BlightyDevil
1 Replies

6. Shell Programming and Scripting

Redirect text to image file

How can I redirect text data to an image (png, jpg, gif... etc) file using perl on unix solaris environment?? Please suggest. Pooja (1 Reply)
Discussion started by: wadhwa.pooja
1 Replies

7. UNIX for Dummies Questions & Answers

"convert" chops off part of postscript file?

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)
Discussion started by: ramparts
0 Replies

8. UNIX and Linux Applications

KickStart postscript problem

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)
Discussion started by: trutoman
0 Replies

9. Shell Programming and Scripting

Copying multiplies files into multiplies directories

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)
Discussion started by: Kossy
8 Replies