How to straighten a photo on iPhone and fix leaning walls.

To straighten a photo on an iPhone, open it in Photos, tap Edit, then Crop, and use the buttons below the frame: one straightens a crooked photo, one tilts it vertically, one tilts it horizontally. Together they fix a tilted frame and leaning walls. Every correction costs a strip of the picture at the edges, so the better fix is to shoot level. This guide covers both, for listing photos, with one real example.

By Gabriele Grimaldi. Published .

Before: dining room, the frame tilted and the walls leaningAfter: the same dining room, verticals straight, frame level, chandelier on
One photo, before and after Dimorio. The verticals are straightened and the frame is levelled.

AI-enhanced image

Straighten a photo in the Photos app

  1. Open the photo in Photos and tap Edit.
  2. Tap Crop. Three buttons appear below the frame.
  3. If the whole photo leans to one side, tap the straighten button and drag the slider until the photo is level.
  4. If the walls lean towards each other, tap the vertical tilt button and drag the slider until a door frame stands upright.
  5. Tap Done.

The horizontal tilt button squares up a wall or facade photographed slightly from the side; leave it alone in a corner shot. You can undo all of it later: open the photo, tap Edit, then Revert, and the original comes back.

Work in this order: level the photo first, then the verticals, then crop.

Why the walls lean

Walls, door frames and window edges are vertical in the room. They stay vertical in the photo only while the back of the phone is parallel to them. Tilt the phone up to fit the ceiling and the walls lean in towards the top. Tilt it down to show more floor and they lean outwards at the top. Photographers call this converging verticals, or keystoning. Hold the phone off level, a little lower on one side, and every wall leans the same way.

The room did not change. The angle of the camera did. A wide lens makes the same tilt look stronger towards the edges of the frame.

Shoot it level next time: four habits

Getting it right in the room beats any repair afterwards.

  1. Lower the phone instead of tilting it. Hold it at chest height, roughly 1.2 to 1.5 metres (4 to 5 feet) off the floor, and perfectly upright. Too much ceiling in the frame? Lower the phone a little. Do not point it down. Our guide to natural light covers height and timing together.
  2. Turn on the grid and the level. Open Settings, tap Camera, then turn on Grid and Level.
  3. Line up a vertical on each side. Pick a door frame or a wall corner near each side of the screen and make both run parallel to the grid lines. When both are straight, the others follow.
  4. Step back before you go wider. The ultra-wide lens (0.5x) bends the edges of the frame. Keep it for bathrooms and narrow hallways, and hold it level with extra care.

On an Android phone

Google Photos. Open the photo, tap Edit, then Crop. Straighten levels a photo that leans to one side. Perspective changes its angle, and that is the one for walls that lean towards each other.

Pixel camera. For the grid: in the Camera app, Settings, More Settings, Grid type.

Snapseed is a separate editing app from Google. Its Perspective tool does the same job and gives you a choice at the edges: fill the blank corners in, or leave them black and crop them off yourself.

What straightening costs you

Straightening does not move the camera. It stretches the picture you already have until the lines stand upright, and that leaves empty wedges at the edges. Either the wedges are cropped away, and you lose part of the room, or an app fills them with pixels that were never in the photo.

Two rules follow.

  • Leave room when you shoot. Keep a margin around what matters: the top of the wardrobe, the arm of the sofa. If the photo needs straightening, the margin is what gets cut.
  • A strong tilt is a reshoot, not a repair. A photo taken looking steeply up a staircase, or down from a mezzanine, stretches the furniture out of shape when you force it upright. Go back and take it level.

Straightening does not fix a bent line. If a wall edge curves, that is the wide lens, not the tilt.

What changed in the photo above

The dining room at the top of this page was photographed with the camera tilted down. The tall window frame on the left and the wood panelling on the right both lean outwards at the top. In the result both stand upright: the verticals are straightened and the frame is levelled. In the same pass the chandelier came on, the light became more even and the washed-out sky in the window and the mirror turned blue.

Dimorio does this for the whole shoot at once. Crooked verticals are straightened and the frame is levelled, in the same pass as light and colour. Dimorio aims to preserve walls, windows and fixed fittings, without inventing rooms or views. Each result is saved alongside your original and does not overwrite it, so you can compare the two and download both. Results are 2048 pixels on the long side, and the enhanced download carries an invisible label in its file data: this page shows how Dimorio labels enhanced images.

In short

On an iPhone: Photos, Edit, Crop, then level the photo and straighten the verticals. Expect to lose a little at the edges, and reshoot what leans a lot. Next time hold the phone upright and level at chest height, with the grid on, and line up a door frame on each side. To have the whole shoot straightened in one go, see what Dimorio changes in a photo.

Questions and answers

How do I straighten a photo on an iPhone?

Open the photo in Photos, tap Edit, then Crop. Tap the straighten button below the frame and drag the slider until the photo is level. For walls that lean towards each other, use the vertical tilt button next to it. Tap Done to save.

Why do the walls lean in my photos?

Because the phone was tilted up or down, or not held level, when you took the photo. Walls stay vertical in the picture only while the back of the phone is parallel to them. Hold the phone upright and level at chest height and they stand straight.

Does straightening change the room?

No, not for a small lean. It stretches the picture you already have until the lines stand upright; it does not move the camera. What changes is the frame: the edges are cropped, or an app fills them with pixels that were never in the photo. A strong correction also stretches the furniture.

Can I undo it later?

Yes. On an iPhone, open the photo, tap Edit, then Revert, and the original comes back. That is one reason to straighten in the phone's own editor: the photo you took is never lost.

Does Dimorio straighten the lines for me?

Yes. Crooked verticals are straightened and the frame is levelled in the same pass as light and colour, for the whole shoot. Each result is saved alongside your original, so you can compare the two and download both.

Sources

Related guides

Prices, comparisons and examples

Your next shoot.Done in minutes.

Try 10 photos freeNo card. No subscription.

Dimorio is a service of SEPTEM S.R.L.S., a company based in Rome. Questions go to support@dimorio.com. About Dimorio

Try 10 photos freeNo card.
No subscription.