Added a method to change brightness of an image.