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