from PIL import Image from PIL import ImageEnhance im = Image.open(r"C:\Users\Administrator\Desktop\1.jpg") om = ImageEnhance.Brightness(im) brightness = 1.5 image_brightened = om.enhance(brightness) image_brightened.show()