How to straighten buildings in your photos
When you tilt the camera up, buildings lean back and their vertical lines converge toward the top. That’s perspective, and it’s easy to correct. In Lucarne, a free photo editor for the Mac, you draw two guides along the building’s edges and the photo straightens itself; then you fine-tune with a few sliders if you need to, and crop.

Why buildings lean
When the camera points upward, the sensor is no longer parallel to the wall. The top of the building, further away, looks smaller than the bottom, so lines that are parallel in reality converge toward the top, and the building becomes a trapezoid. Pull the trapezoid back into a rectangle, and the building stands straight.
The quickest way: draw two guides
- Turn on guides. In develop, choose Crop and straighten on the left, then click the guides button in the bar below the photo.
- Draw along edges that should stand upright. The side of a tower, the corner of a wall, or the edge of a column of windows: drag a line along it. Draw two, ideally one on each side and well apart.
- The photo straightens. Each time you finish a line, Lucarne works out the Angle and the Vertical correction again, so that your lines stand upright. If a line is a little off, drag the dot at either end, or click the × in its middle to remove it.
- Add level lines if you need them. If you shot the wall at an angle, draw one or two lines along a roofline or a row of windowsills too, and Lucarne corrects the Horizontal as well. You can draw up to two lines each way.
With a single line, Lucarne corrects only the angle — the way to level a horizon or set one column upright.
Fine-tune and crop
The values the guides set appear on the sliders in the bar below the photo, and you can go on from there by hand:
- Vertical: for lines that converge toward the top or the bottom; it’s the one the guides set.
- Horizontal: for a wall shot at an angle, when level lines converge to one side.
- Aspect: after a strong correction, a building often looks squat. Take Aspect a little below zero and it grows tall again; above zero makes it wider.
- Angle: up to ±45°; hold Option while you drag for finer steps.
- Crop: drag the frame on the photo, or pick a ratio: free, original, 1:1, 3:2, 4:5, or 16:9. When you’re done, Lucarne keeps the crop inside the photo, so the empty edges the correction leaves never show in the result.
As shot
Straightened with guides
With the aspect set If you shot with a wide-angle lens, turn on the corrections your camera recorded under Lens corrections in the adjustments first, or set Distortion by hand, so that straight lines are straight before you draw the guides.
A few tips
- Pick long, clear edges. The longer the lines and the further apart, the more exact the correction.
- Leave room when you shoot. Correction crops away part of the frame, so give the building some space around it.
- It doesn’t have to be perfectly parallel. For a very tall building shot steeply upward, a little convergence often looks more natural: once it’s straight, take Vertical back a little.
Questions
- Is perspective correction free?
- Yes. All of Lucarne's editing is free to use.
- Are the guides saved?
- The guides are only there while you correct. What's saved is the result — the angle and the vertical and horizontal corrections — which you can change or undo any time.
- Will it crop my photo?
- Yes. Correction leaves empty edges, and Lucarne keeps the crop inside the photo, which is why it helps to leave room when you shoot.
- Can an AI assistant straighten my photos?
- Yes. An AI assistant connected to Lucarne can set the angle, the vertical and horizontal corrections, and the crop, and preview the result before applying it.