Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python identify image mode

from PIL import Image

rgbImage = Image.open("flower.jpg")
print(rgbImage.mode)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #identify #image #mode
ADD COMMENT
Topic
Name
3+6 =