I was looking at the ImageConverter class, trying to figure out how to convert a BufferedImage to 8-bit color, but I have no idea how I would do this. I was also searching around the internet and I could find no simple answer, they were all talking about 8 bit grayscale images. I simply want to convert the colors of an image to 8 bit… nothing else, no resizing no nothing. Does anyone mind telling me how to do this.
Share
This code snippet from the article “Transparent gifs in Java” at G-Man’s Uber Software Engineering Blog works well: