This content has been marked as final. Show 2 replies
Image has the method
You can try to scale down to smaller one and then scale back.
public Image getScaledInstance(int width, int height, int hints)
I take it that you are trying to go from 24bit image to an 8bit image. You can do so, by taking the indiividlual color wights and divide by 64, then reassemble the pixel. This will take you from 24bit color in an ARGB to 8 bit color.