Rescale image(power of 2)