Change contrast in Java BufferedImage
Posted on 2011-05-05
I need to change the contrast (and maybe the brightness) of an image in Java. It is a BufferedImage that I create, and it is made of different geometrical items. I have to change the contrast of only some of these items. The items to be changed are all of the same color.
Also, these elements are traslucent, so I am using Transparency.TRANSLUCENT function.
I don't know how contrast and transparency interact...