If you can provide an appropriate color table, convert from 24 to 8 is easy.
See Image Toolbox (http://www.geocities.com/gzou999/imgtool.htm).
Otherwise, you have to go through every pixel to find 256 mostly used colors
to be used as new color table.
George Zou
http://gtoolbox.yeah.net
George Zou