Just for generel info. When rotating an image, until some years ago, the image information was 'resampled' to give the wanted direction. BUT there is also a FLAG in the EXIF metadata, telling if the image is to be rotated 0°, 90°, 180° or 270°
Unfortunately still not all viewers/handlers respects this!! So in one context a file may show correct, and in another in the native original data's orientation, that is: rotated compared to what was intended.
The purpose of this flag is to make rotation fast and easy, while keeping all image information. The price is that the image is to be rotat