[magick-users] Batch converting RGB to indexed?

Fred Weinhaus fmw at alink.net
Mon Aug 11 10:47:51 PDT 2008


Did you try adding -type palette ( I think)

See http://www.imagemagick.org/script/command-line-options.php#type



>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