Table of Contents
pstogif - |
convert a single-page PostScript (PS or EPS) file
into a GIF, JPEG, PNG, TIFF or PNM image |
ln -sf pstogif new_nameThe script recognised the following names:
pstogif | -- conversion to GIF | == the standard name |
pstopng | -- conversion to PNG | |
pstojpg | -- conversion to JPEG | [or: pstojpeg] |
pstotif | -- conversion to TIFF | [or: pstotiff] |
pstopxm | -- conversion to PNM | [*] |
-q | "quiet": the messages are redirected to the file pstogif.err in the current directory. |
-u | "ultra-quiet": the messages are redirected to /dev/null -- use this option with care! |
-t green
-t #00ff00
-t rgb:00/ff/00
-t rgbi:0.0/1.0/0.0
GIF | No functionality. | |||||
JPEG | Quality factor for the JPEG image. The default is 75; sensible values are between 50 and 95; the script allows for values of 5 to 100. | |||||
PNG | Compression factor for the PNG image. The default is 6; the range is 0 (no compression) to 9. | |||||
TIFF |
Determines the compression of the TIFF image:
|
|||||
PNM |
Determines the format of the PNM image:
|
pnmrotate: promoting from PBM to PGM - use
-noantialias to avoid this
ppmtogif: maxval is not 255 - automatically
rescaling colors
-m 5 -c white -M 1 -C black
pssplit [page] infile outfilemaskwhere infile is a PS or EPS file and outfilemask is the basis for the name of the output files for the separate pages:
outfilemask_<pagenumber>.[ps/eps]with <pagenumber> is a 4-digit string (0001, 0002, etc.), and an extention depending on the type of the infile. If the outfilemask contains a directory path, the script creates the directory path in case it does not already exist. When processing, pssplit writes the total number of pages and the page being extracted to the screen.