Check out example codes for "change brightness of image in java". It will help you in understanding the concepts better.
Code Example 1
float scaleFactor = 1.3f; // How much brighter. 1.3 means 30% brighter RescaleOp op = new RescaleOp(scaleFactor, 0, null); bufferedImage = op.filter(bufferedImage, null);
Learn ReactJs, React Native from akashmittal.com