[l2h] Image conversion

Shigeharu TAKENO shige at iee.niit.ac.jp
Sat Oct 29 09:22:34 CEST 2005

shige 10/29 2005

In article <43616BB9.6060303 at uniserve.com>,
Bob van der Poel wrote:

> When converting images I get:
> pstoimg: Error: "/usr/bin/ppmquant -floyd 256 < 
> /var/tmp/l2h31773/p31811.pnm | /usr/bin/pnmtopng -interlace -trans 
> 'gray85'  > img1.png" failed: Bad file descriptor

If you are using netpbm-10.19 or after, try to use ppmquant 
without "-floyd" option, that is, modify 2 lines in your pstoimg:

 $reduce_color = "$PPMQUANT -floyd 256";


 $reduce_color = "$PPMQUANT 256";

ppmquant was modified in netpbm-10.19 and may fail some 
environment (Document of ppmquant says it is obsolete).

 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