in reply to Image::Magick and colors

Reducing the colorspace is a nontrivial operation that involves approximating a large set of colors with a smaller set, so it makes sense that you cannot just set number of colors. To reduce the size of the color space, check out the Posterize and Quantize methods in Image::Magick.

-Mark

Replies are listed 'Best First'.
Re^2: Image::Magick and colors
by geektron (Curate) on Jul 18, 2005 at 19:06 UTC
    Quantize *seems* to be what i needed ...

    i'll just need to see how ugly the end result becomes, and tweak the parameters appropriately