home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega A/V
/
mega_av.zip
/
mega_av
/
GRAPHUTL
/
PBMPLUS.ZIP
/
PSIDTOPG.MAN
< prev
next >
Wrap
Text File
|
1991-08-11
|
2KB
|
67 lines
psidtopgm(1) Unix Programmer's Manual psidtopgm(1)
NNNAAAMMMEEE
psidtopgm - convert PostScript "image" data into a portable graymap
SSSYYYNNNOOOPPPSSSIIISSS
pppsssiiidddtttooopppgggmmm _w_i_d_t_h _h_e_i_g_h_t _b_i_t_s/_s_a_m_p_l_e [_i_m_a_g_e_d_a_t_a]
DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
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 mmmaaannnuuuaaallllllyyy 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 aaattt llleeeaaasssttt 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...
SSSEEEEEE AAALLLSSSOOO
pgmtops(1), pgm(5)
AAAUUUTTTHHHOOORRR
Copyright (C) 1989 by Jef Poskanzer.
02 August 89 1