Here you can find the source of increaseBrightness(Image image)
public static Image increaseBrightness(Image image)
//package com.java2s; //License from project: Open Source License import java.awt.Color; import java.awt.Image; import java.awt.image.BufferedImage; public class Main { /**/*from w ww .j a v a 2 s . c o m*/ * Aumenta el brillo de una imagen. */ public static Image increaseBrightness(Image image) { BufferedImage result = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_ARGB); result.getGraphics().drawImage(image, 0, 0, null); for (int x = 0; x < image.getWidth(null); x++) { for (int y = 0; y < image.getHeight(null); y++) { Color c = new Color(result.getRGB(x, y)); result.setRGB(x, y, new Color(verifyRange(c.getRed() + 100), verifyRange(c.getGreen() + 100), verifyRange(c.getBlue() + 100)).getRGB()); } } return result; } private static int verifyRange(double value) { if (value < 0) { return 0; } else if (value > 255) { return 255; } else { return (int) value; } } }