from PIL import Image from PIL import ImageEnhance im = Image.open(r"C:UsersAdministratorDesktop1.jpg") om = ImageEnhance.Brightness(im) brightness = 1.5 image_brightened = om.enhance(brightness) image_brightened.show()