Answers for "how to get the hegiht and width of an image pil"

2

width and height of pil image

image = PIL.Image.open("sample.png")
width, height = image.size
Posted by: Guest on January-15-2021

Code answers related to "how to get the hegiht and width of an image pil"

Python Answers by Framework

Browse Popular Code Answers by Language