Scales the image to power of 2