get all the image resolution python code example Example: get resolution of image python img = Image.open("test.png") img = img.size # img.size is a tuple