Adjusting the contrast and brightness