Answers for "python image type PIL"

20

pil get image type

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

pil python image

from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()
Posted by: Guest on March-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language