We can check size (resolution) of an image in Python by using PIL.
>>> from PIL import Image >>> image = Image.open("image.png") >>> print(image.size) (1366, 768)
Source: Kite
Last updated 4 months ago