How to Straighten a Photo and Fix Perspective
Correct a tilted horizon and converging architectural lines in the right order, then crop the empty edges without stretching important objects.


Rotation fixes a tilted camera, while perspective correction changes the geometry created when the camera points upward, downward, or sideways. Diagnose these problems separately, correct the largest structural error first, and leave enough border for the final crop.
Recommended workflow
- 01
Identify the reference lines
Choose the true horizon, door frames, wall corners, or other lines known to be level or vertical. Ignore sloped terrain and intentionally angled design elements.
- 02
Straighten the rotation
Rotate the image until the horizon or primary horizontal reference is level. Do not crop tightly yet because perspective correction will move the corners again.
- 03
Correct converging lines
Use Perspective Warp with a modest adjustment so architectural verticals become believable. Watch people, circles, and edge objects for unnatural stretching.
- 04
Crop and inspect
Crop transparent or empty wedges, preserve the intended aspect ratio, and compare the result with the original at normal size before committing.
Rotation and perspective are different errors
When every line leans by roughly the same angle, the camera was rotated and a simple correction can level the frame. When vertical lines converge toward the top or bottom, the camera axis was not parallel to the subject plane.
Applying perspective correction to a rotation problem can bend geometry unnecessarily. Level the image first, then decide whether the remaining convergence is distracting or an intentional sense of depth.
Avoiding stretched subjects
Strong corner movements redistribute pixels and can widen people or circular objects near the frame edge. Make the minimum correction that solves the structural problem instead of forcing every line into mathematical perfection.
If an important subject distorts, reduce the warp, crop more tightly, or accept a small amount of convergence. A believable photograph is usually more valuable than perfectly parallel edges.
Common mistakes
- Using a sloped shoreline or roof as if it were a true horizon.
- Cropping tightly before perspective correction is complete.
- Forcing perfect verticals while stretching people near the edge.
Questions and answers
Should every building photo have perfectly vertical lines?
No. Some convergence communicates camera position and height. Correct it when it distracts from the subject, not by default.
Why do empty triangles appear after straightening?
Rotation and warping move the original rectangle inside a new boundary. Crop those uncovered areas or extend the background carefully.
Can perspective correction reduce image quality?
It resamples and stretches parts of the image, so strong corrections can soften detail. Work from the largest clean source and correct only as much as needed.