Copyright (C) 2000-2012 |
Manpages psidtopgmSection: User Commands (1)Updated: 02 August 89 Index Return to Main Contents NAMEpsidtopgm - convert PostScript "image" data into a portable graymapSYNOPSISpsidtopgm width height bits/sample [imagedata]DESCRIPTIONReads 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 ALSOpnmtops(1), pgm(5)AUTHORCopyright (C) 1989 by Jef Poskanzer.
IndexThis document was created by man2html, using the manual pages. Time: 06:28:31 GMT, November 05, 2024 |