Adjusting picture brightness and contrast