[l2h] pstoimg on cygwin?

Shigeharu TAKENO shige at iee.niit.ac.jp
Sat Mar 24 12:17:47 CET 2007


shige 03/24 2007
----------------

Alle Meije Wink <alle_meije at yahoo.co.uk> wrote:

> It doesn't say why, but when I run the command between quotes I get:
> > $ /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.
>
> All I know at this point is that ppmquant, or rather, a call inside
> ppmquant to pnmcolormap, goes wrong in cygwin.
> Does anyone else know of this problem, and has anyone found a workaround
> yet?

Perhaps you may avoid the error by using options '-antialias' or 
'-antialias -depth 1' for pstoimg.

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list