Straightening and Rotating Photos
How to fix tilted horizons and leaning buildings, the difference between rotating and correcting perspective, and how to avoid losing edges.
A slightly tilted horizon is one of the most common photo problems, and one of the easiest to fix. A straight photo looks calmer and more professional.
Rotating by 90 degrees
Photos sometimes appear sideways because the camera's orientation information was lost. Rotating in 90-degree steps fixes this without any quality loss in most editors.
Straightening small tilts
For a tilt of a few degrees, use the straighten tool:
- Find a line that should be level, like a horizon, table edge or window ledge.
- Rotate until it's horizontal. Many editors let you draw along the line and straighten automatically.
For vertical lines, like door frames or poles, rotate until they're upright.
Cropping after rotation
Rotating a rectangle leaves empty corners. Editors usually crop slightly to remove them, which loses a little of the edges. Alternatively, fill the corners with generative expand. See extending a photo's background.
Perspective correction
Buildings photographed from below appear to lean backwards, with vertical lines converging. That's perspective, not tilt. Perspective tools straighten these lines by adjusting the image's geometry. Use them gently; full correction can look unnatural.
Which line to trust
Sometimes horizontal and vertical lines disagree because of perspective. For landscapes, trust the horizon. For architecture and interiors, trust vertical lines.
Rotating cutouts
Cutouts can be rotated freely on a new canvas, since there's no background to crop. Make sure any shadow you add matches the new angle.
Product photos
Product photos should be perfectly straight. A slightly tilted bottle looks careless in a grid. See keeping product photos consistent.
Do it early
Straighten before other edits, especially cropping, so your composition is based on the corrected image. See cropping to improve composition.