image:rotatedImage(90) offsets/crops pixels by (-1,-1)… new in SDK 1.12?

Yes, this bug has been here for a while.

I think the best, for now, is to find a workaround that suits you.