I have the following code:
print(img.size) print(10 * img.size)
This will print:
(70, 70) (70, 70, 70, 70, 70, 70, 70, 70,
In line with the previous answers but using numpy:
import numpy as np result = tuple(10*np.array(img.size))