Toolvito

Processed online by Toolvito

Image Geometry Editor

Make crooked photos straight. Click the four corners of a document, a painting or a building front to make it a flat rectangle, or straighten the horizon, leaning walls and a bulging wide-angle view.

Fix the geometry of a picture

Fix the geometry of a picture

Or drop files here. PNG, JPG, JPEG, JFIF, WEBP, GIF, BMP, TIF, TIFF, AVIF, HEIC or HEIF, up to 20 files, 50 MB each at most.

    Four lines: top left, top right, bottom right, bottom left, each as x,y in % of the picture (for example 12,8). Or click the four corners on the picture above. Leave empty when you only want to turn or straighten.

    A negative number turns the other way. Added to the automatic straightening.

    More options

    Positive widens the top, for walls that lean inwards in photos taken from below.

    Positive makes the left side taller; negative the right side.

    Positive removes barrel distortion (wide-angle, fisheye); negative removes pincushion.

    Write transparent, or a colour like #ffffff.

    When you run a task here, Toolvito receives the files you choose for processing. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to fix the perspective of a photo

    1. Choose your photo. It appears under the file box (only on your device until you press the button).
    2. Click the four corners of the area that should become a rectangle. Any order works; they are sorted into top left, top right, bottom right and bottom left.
    3. Press Fix geometry and download the straight picture.
    4. If the result is too wide or too tall, use the Image Resizer to set the real proportions.

    How to straighten a tilted photo

    1. Choose your photo and tick Straighten automatically. The tool measures the tilt of long straight edges such as the horizon, a table edge or a wall.
    2. Or type the angle under Turn by (degrees, clockwise; a negative number turns the other way).
    3. Choose what happens to the empty corners: a bigger canvas, a crop to the largest straight rectangle, or the original size.

    What each setting does

    • Corners: four points in % of the picture. The area inside them becomes an upright rectangle (perspective correction).
    • Lean of upright lines (vertical keystone): positive values widen the top, so walls photographed from below stand straight. Sideways perspective does the same left to right.
    • Lens bulge: positive values remove barrel distortion (straight lines bow outwards, as with wide-angle and fisheye lenses); negative values remove pincushion distortion.
    • Skew slants the picture sideways or up and down. Mirror flips it.
    • The steps run in this order: lens, perspective, skew, turn, mirror.

    Good to know

    • Every change except mirroring recalculates the pixels (bicubic), so repeat edits make a picture softer. Animated GIF and WebP are changed frame by frame.
    • Empty corners stay transparent in PNG and WebP, or get the colour you write. JPG cannot be transparent, so they become white there.
    • Automatic straightening needs long straight lines. On a portrait or a picture of clouds it may find nothing; then it says so and leaves the picture as it is.
    • To cut a photo into a circle or round its corners use the Image Cropper. For a border use the Photo Frame & Border Maker. For mirror and reflection effects use the Image Rotator & Flipper.

    Related tools