Just ran across this excellent tip for using the Posterize filter to reduce the number of colors in png files.