public void doChangeBrightness(int brightnessAmountNum) {

		for (int i = 0; i < pixels.length; i++) {
			for (int j = 0; j < pixels[i].length; j++) {

				pixels[i][j] = pixels[i][j] + brightnessAmountNum;

				if (pixels[i][j] < 0)
					pixels[i][j] = 0;
				else if (pixels[i][j] > 255)
					pixels[i][j] = 255;
			}
		}
	}