How to reduce the number of colors in an image?
843807Jun 10 2001 — edited Jul 17 2001Does anybody know how to reduce the number of colors in a BufferedImage WITHOUT using an external API.
I want to save images in GIF format but I need to reduce the colors to 255.
I only need this function and don't want to bundle something like the Java Advanced Image API just for this. Does anybody know if this can be done with the java.awt.image.ColorConvertOp for instance?