Crop image
Drag the box, rotate it when it fits, pick a format, take the file back. Nothing is uploaded.
The crop stays inside the picture, and it rotates only while the whole box still fits. An animated GIF becomes its first frame. JPEG gets a white background where the original was transparent.