Multiplying a tuple by a scalar

Might be a nicer way, but this should work

tuple([10*x for x in img.size])

img.size = tuple(i * 10 for i in img.size)

The pythonic way would be using a list comprehension:

y = tuple([z * 10 for z in img.size])

Another way could be:

y = tuple(map((10).__mul__, img.size))