Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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);
 
PREVIOUS NEXT
Tagged: #change #brightness #image #java
ADD COMMENT
Topic
Name
9+2 =