I have an 10888 x 6451 px image. When I draw small crops, it works as expected. When I draw large crops, the output shapes are not as expected.
E.g.
Crop shape = 9917 x 5423
output shape = 9025 x 4164
Maybe it has something to do with how the image data is tiled in memory?
When I crop a region that extends beyond the bounds of the image to get the whole image, it works as expected.