Page 1 of 1

Re: converting pdf to gif including resize/resample

Posted: 2007-04-01T18:16:59-07:00
by anthony
You need to set a density BEFORE reading the image.

As you have it it reads the image at the default 72 dpi density, then enlarges it (resample) to 200 dpi density. The result as you noticed is blurry. I do not think that is what you are wanting to do!

Also in BOTH command line and perl, read your image BEFORE trying to reduce the number of colors!

For more info on color reduction and techniques see
IM Examples, Quantization and Dithering
http://www.imagemagick.org/Usage/quantize/#colors