Welcome to the pscol home-page !

Patrick Jöckel, Deutsches Zentrum für Luft- und Raumfahrt (DLR)
Institut für Physik der Atmosphäre

What is pscol?
pscol is a perl-script which converts the color format of postscript (.ps, .eps) images from RGB (red-green-blue) colors to grey-levels or CMYK (cyano-magenta-yellow-black) colors. It currently works only for AFPL Ghostscript output. This implies that you have to convert output from other postscript sources with ps2ps or eps2eps before pscol can be applied.

Note: It does only work for 'real' vector-postscript, i.e., it does not work, if the original postscript file contains any kind of colored bitmap-graphics ...

pscol is a heavily modified and simplified version of psmod (Niklas Nordin, Chalmers University of Technology).
pscol is freely available without any warranty under the GNU public license (GPL).
The most recent version is V0.1b.

The usage is very simple:

pscol [flags] infilename outfilename
Allowed flags are:
-h print this message and exit.
-gray convert RGB colorscale to grayscale.
-0grayconvert RGB colorscale to grayscale (simple).
-cmyk convert RGB to CMYK.
Note: Only for AFPL Ghostscript output (eps2eps, ps2ps) !!!


This page was last modified on 19 Feb 2010.

 
Download
perl
AFPL Ghostscript
GNU
GPL