When you change img.x and img.y, perspective will be change. The results show up or not , depending on the area, we chose. And the value of img.ext will be calculated because the location on the map is changed but the size of the image pixel is unchanged.