[l2h] Image conversion

Julius Smith julius.smith at gmail.com
Thu Feb 16 05:10:09 CET 2006


On 10/28/05, Shigeharu TAKENO <shige at iee.niit.ac.jp> wrote:
> shige 10/29 2005
> ----------------
> ppmquant was modified in netpbm-10.19 and may fail some
> environment (Document of ppmquant says it is obsolete).

I am having this problem on Fedora FC4.  Removing '-floyd' had no
effect in my case. I changed ppmquant to pnmquant and got the same
failure.  Also, the behavior is intermittent:

> /usr/bin/ppmquant -floyd 256 </tmp/l2h16891/p17166.pnm | /usr/bin/pnmtopng -interlace >! img577.png
pnmcolormap: making histogram...
pnmcolormap: Scanning image 0
pnmcolormap: 14 colors so far
pnmcolormap: 14 colors found
pnmcolormap: Image already has few enough colors (<=256).  Keeping same colors.
pnmremap: 14 colors found in colormap
pnmremap failed, rc=13
Segmentation fault

> /usr/bin/ppmquant -floyd 256 </tmp/l2h16891/p17166.pnm | /usr/bin/pnmtopng -interlace >! img577.png
pnmcolormap: making histogram...
pnmcolormap: Scanning image 0
pnmcolormap: 14 colors so far
pnmcolormap: 14 colors found
pnmcolormap: Image already has few enough colors (<=256).  Keeping same colors.
pnmremap: 14 colors found in colormap
pnmtopng: 14 colors found

I cannot get it to fail reliably in a small test case.
Julius



More information about the latex2html mailing list