Code: Select all
~ $ convert in.png png8:out.png
~ $ convert -version
Version: ImageMagick 6.4.2 06/29/08 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
~ $ uname -a
Linux local 2.6.24-gentoo-r3-v1 #1 Sun Mar 2 06:05:48 CET 2008 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
I haven't verified the exact code, but the contours in the example image have the wrong color after processing and the color differs between viewers, whereas the shaded areas with the same color (but different palette index) remain intact.