Hi All,

I’m trying to reduce the number of colors using a ColorMap image and
getting some very strange results when using a colormap.

Source Image: http://206.65.169.164/~wfitzgerald/G1.tif

# This seems to work fine.
convert G1.tif -colors 64 G1_Converted.gif

Result: http://206.65.169.164/~wfitzgerald/G1_Converted.gif

# This does not
convert G1.tif -colors 64 -unique-colors G1_map.gif
convert G1.tif -map G1_map.gif G1_converted_using_map.gif

Result: http://206.65.169.164/~wfitzgerald/G1_converted_using_map.gif
The map File: http://206.65.169.164/~wfitzgerald/G1_map.gif

I ran through the examples at
http://www.imagemagick.org/Usage/quantize/#colors and this process seems
to work fine with the colorwheel.png example on the site, but I can’t
for the life of me figure out why it does not work with the source image
above?

I'm pretty sure it has something to do with the map I'm generating
because the map only contains 16 colors, event though I set -colors 64,
but I don't know why the map I've generating is missing the rest of the
colors.

Any thoughts \ help would be greatly appreciated.

Thanks
Warrick





_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to