Python mengidentifikasi mode gambar

from PIL import Image

rgbImage = Image.open("flower.jpg")
print(rgbImage.mode)
Robert Dorrigan