php man page for psidtopgm

Query: psidtopgm

OS: php

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

psidtopgm(1)						      General Commands Manual						      psidtopgm(1)

NAME
psidtopgm - convert PostScript "image" data into a portable graymap
SYNOPSIS
psidtopgm width height bits/sample [imagedata]
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(1), pgm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer. 02 August 89 psidtopgm(1)
Related Man Pages
psidtopgm(1) - osx
psidtopgm(1) - netbsd
psidtopgm(1) - opensolaris
psidtopgm(1) - sunos
pbmtoepsi(1) - xfree86
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!