Contrast and brightness adjustments. Adjusting brightness and contrast of an image in c. By changing the image brightness it is meant to change the value of each and every image pixel.