change brightness of image in java code example
Example: change brightness of image in java
float scaleFactor = 1.3f; // How much brighter. 1.3 means 30% brighter
RescaleOp op = new RescaleOp(scaleFactor, 0, null);
bufferedImage = op.filter(bufferedImage, null);