private BufferedImage shiftColor(BufferedImage img, int rShift, int gShift, int bShift)
	{
		int width = img.getWidth();
		int height = img.getHeight();
		for(int i = 0; i < height; i++)
			for(int j = 0; j < width; j++)
			{
				int c = img.getRGB(j, i);
				int alpha = c >> 24 & 0xff;
				int red = (c >> 16 & 0xff) - rShift;
				int green = (c >> 8 & 0xff) - gShift;
				int blue = (c & 0xff) - bShift;
				red = red > 0 ? red : 0;
				green = green > 0 ? green : 0;
				blue = blue > 0 ? blue : 0;
				img.setRGB(j, i, new Color(red, green, blue, alpha).getRGB());
			}
		return img;
	}