[l2h] pstoimg on cygwin?

Alle Meije Wink alle_meije at yahoo.co.uk
Mon Mar 26 12:13:32 CEST 2007


Hi Shige

>>> $ /usr/bin/ppmquant 256 < /tmp/p612.pnm | /usr/bin/pnmtopng  > IAN_PER3rawrotation.png
>>> pnmcolormap: making histogram...
>>> pnmcolormap: Scanning image 0
>>> pnmcolormap: 7 colors so far
>>> pnmcolormap: Scanning image 1
>>> pnmcolormap: Image 1 depth (1) is not the same as Image 0 (3)
>>> pnmcolormap failed, rc=256
>>> pnmtopng: Error reading magic number from Netpbm image stream.  Most often, this means your input file is empty.
> 
> Perhaps you may avoid the error by using options '-antialias' or 
> '-antialias -depth 1' for pstoimg.

This is interesting.

If I use the -antialias option, pstoimg completes without complaints but 
produces an empty .PNG file! With the option -depth alone, I still get 
the error.

AM


More information about the latex2html mailing list