home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
399b.lha
/
PGM.LZH
/
pgm
/
psidtopgm.doc
< prev
next >
Wrap
Text File
|
1990-07-21
|
2KB
|
67 lines
psidtopgm(1) PBM Plus 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 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 _m_a_n_u_a_l_l_y 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 _a_t _l_e_a_s_t 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
pgmtops(1), pgm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting docu-
mentation. This software is provided "as is" without
express or implied warranty.
Printed 5/25/90 02 August 89 1