Answers for "find the datatype of the pil image object"

20

pil get image type

img = Image.open(filename)
print(img.format)  # 'JPEG'
Posted by: Guest on May-15-2021

Code answers related to "find the datatype of the pil image object"

Python Answers by Framework

Browse Popular Code Answers by Language