Hi,
I'm using the getRGB function to get the color of a pixel of a BufferedImage.
It returned a number like 2001231.
What I want to do is use setRGB to set the color of this pixel to something so that getRGB returns 2000000 instead of the original value.
How will I define the color for the setRGB method based on what the getRGB returned originally (2001231), so setRGB sets 2000000?
Please suggest something.
Thanks