
Click 90° CW or 90° CCW and the image keeps its proportions: a 1200 × 800 landscape picture becomes an 800 × 1200 portrait one, with nothing stretched. 180° turns it upside down and keeps 1200 × 800. Only angles in between, set with the slider, change the canvas to a different size.
rotated_ plus the original file name and keeps the original file type.
With the slider at 45°, the canvas grows so the whole image fits: the example became 1415 × 1415. The corners that the picture does not cover are empty. The preview shows them as the white page background, but a JPEG cannot store transparency and the downloaded JPEG had those corners filled with black. If you only wanted to straighten a sideways picture, stay on the 90° buttons.
Rotation never stretches an image. If a picture looks squashed afterwards, a later width or height change in another editor, or the page it is displayed on, is the more likely cause. Keep the original file, and open the downloaded copy where you plan to use it.
rotated_ file, not the original.