Linux Commands Examples

A great documentation place for Linux commands

psidtopgm

convert PostScript "image" data into a portable graymap


see also : pnmtops

Synopsis

psidtopgm width height bits/sample [imagedata]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

Reads the "image" data from a PostScript file as input. Produces a portable graymap as output.

This program is obsoleted by pstopnm. What follows was written before pstopnm existed.

This is a very simple and limited program, and is here only because so many people have asked for it. To use it you have to manually extract the readhexstring data portion from your PostScript file, and then give the width, height, and bits/sample on the command line. Before you attempt this, you should at least read the description of the "image" operator in the PostScript Language Reference Manual.

It would probably not be too hard to write a script that uses this filter to read a specific variety of PostScript image, but the variation is too great to make a general-purpose reader. Unless, of course, you want to write a full-fledged PostScript interpreter...


see also

pnmtops , pgm


author

Copyright (C) 1989 by Jef Poskanzer.

How can this site be more helpful to YOU ?


give  feedback