Answers for "How to find a dimesion of the image using Pillow in Python"

1

python get image size

from PIL import Image

img = Image.open('path/to/image')
width, height = img.size
im.close()
Posted by: Guest on December-20-2020

Code answers related to "How to find a dimesion of the image using Pillow in Python"

Python Answers by Framework

Browse Popular Code Answers by Language