Convert image to indexed color
I'm using Java2D (with ImageIO) to produce a PNG file. This works OK.
But how do I use Java2D to convert the image to an indexed color
format (16 or 256 colors) before writing the PNG file?
Are there are different ways of reducing the number of colors?
To unsubscribe, send email to email@example.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
firstname.lastname@example.org and include in the body of the message "help".