JPEG: Incorrect orientation
What to check and how to proceed
Inspect the EXIF Orientation field before rotating pixels. Some viewers honor the tag and others may display raw orientation. Correct the tag or deliberately rotate a copy, not both accidentally.
How to verify the result
Check display in two viewers and confirm pixel dimensions and orientation after saving.
Recovery limits
Orientation issues are usually not pixel corruption.