[magick-users] Batch converting RGB to indexed?

Alan M. Evans ame1 at extratech.com
Mon Aug 11 10:15:15 PDT 2008


Hello!

I've been trying for nearly two full days, and googling everything I can
think. I'll be stuffed if I can figure out how to convert a large number
of RGB PNG files into indexed PNG files. Surely this is a simple
operation, no?

The closest I've come is: "mogrify -colors 4 *.png". With version 2.6.8
(Fedora Core 6) it does the conversion, but the resulting images are all
jumbled up. With version 6.3.8 (Fedora 9), it changes the images
somehow, and they all look fine, but leaves them as RGB.

I've run out of ideas. Help me please!

-Alan



More information about the Magick-users mailing list