Gencho
11-26-2004, 03:53 AM
Hello,
I have noticed this netpbm problem: pnmquant doesn't work with stdin. However, I am not sure if I should report this in the Debian bug tracking system. Is netpbm 10.0-5 a Debian package? I can't see the version number there.
Is the version of Perl is also important (pnmquant is Perl script)?
-------------------------------------------------
Here is the bug description
This doesn't work and produces an error message and a zero length file.
$ ppmmake red 400 300 | pnmquant 16 > tmp_quant.ppm
pnmcolormap: making histogram...
pnmcolormap: 1 colors found
pnmcolormap: Image already has few enough colors (<=16). Keeping same
colors.
pnmremap: EOF / read error reading magic number
pnmremap failed, rc=256
And here is what works:
ppmmake red 400 300 > tmp.ppm ; pnmquant 16 tmp.ppm > tmp_quant.ppm
Bye,
Gencho
I have noticed this netpbm problem: pnmquant doesn't work with stdin. However, I am not sure if I should report this in the Debian bug tracking system. Is netpbm 10.0-5 a Debian package? I can't see the version number there.
Is the version of Perl is also important (pnmquant is Perl script)?
-------------------------------------------------
Here is the bug description
This doesn't work and produces an error message and a zero length file.
$ ppmmake red 400 300 | pnmquant 16 > tmp_quant.ppm
pnmcolormap: making histogram...
pnmcolormap: 1 colors found
pnmcolormap: Image already has few enough colors (<=16). Keeping same
colors.
pnmremap: EOF / read error reading magic number
pnmremap failed, rc=256
And here is what works:
ppmmake red 400 300 > tmp.ppm ; pnmquant 16 tmp.ppm > tmp_quant.ppm
Bye,
Gencho