Cadmeo

Image Flipper and Rotator

Choose an image

Pick a file above and the rotated version appears here. Nothing is uploaded. The image is read and processed in this page.

Images rotate by 90, 180 or 270 degrees and flip horizontally or vertically, in any combination. Because every operation is a right angle or a mirror, each pixel moves to a new position without being resampled. There is no quality loss at all.

How it works

Rotation and flipping are applied through the canvas transform: the origin moves to the centre, the context is rotated and scaled, and the image is drawn once. A negative scale on an axis is what produces a mirror.

  • A 90 or 270 degree rotation swaps the width and height, so a landscape image becomes portrait.
  • Flipping is not the same as rotating. A horizontal flip mirrors the image; a 180 degree rotation flips it on both axes at once.
  • Order matters when combining: the rotation is applied first, then the flips, which is what makes the controls behave predictably.
  • Right-angle rotations map pixels one to one, so nothing is interpolated. An arbitrary angle would have to resample and would soften the image.

A common reason a photo appears rotated is the EXIF orientation tag: the pixels are stored one way and a flag tells the viewer to turn them. Browsers honour that flag when decoding, so what you see here is what the image actually looks like, and the download has the correct pixels with no flag needed.

Examples

Portrait to landscape

Image

3000 × 4000

Rotation

90°

Result

4000 × 3000

The dimensions swap. A 180 degree rotation would leave them unchanged.

Mirroring

Action

Flip horizontally

Result

A mirror image, same dimensions

Text becomes unreadable, which is the quickest way to tell a flip from a rotation.

Two flips make a rotation

Action

Flip horizontally and vertically

Result

The same as rotating 180°

Worth knowing when a photo is upside down, either route gets there.

Frequently asked questions

Does rotating lose quality?

Not at right angles. Each pixel moves to a new position intact, with no interpolation, so the result is exactly as sharp as the original. Rotating by an arbitrary angle would require resampling and would soften the image, which is why only right angles are offered.

What is the difference between flipping and rotating?

A flip mirrors the image across an axis. Text reads backwards afterwards. A rotation turns it. They produce different results except in one case: flipping both horizontally and vertically is identical to rotating 180 degrees.

Why does my phone photo appear sideways elsewhere but correct here?

EXIF orientation. Phones often store the pixels in the sensor orientation and set a flag telling viewers to rotate. Browsers honour the flag, so it looks right here; software that ignores it shows the raw pixels sideways. The download has the pixels physically rotated, so no flag is needed.

Is the EXIF data kept in the download?

No. The image is redrawn to a canvas and exported as PNG, which drops all EXIF, including the camera model, the timestamp and any GPS coordinates. That is a privacy benefit if you are sharing the image, and a loss if you needed the metadata.

Can I rotate by an arbitrary angle?

Not here. An angle that is not a multiple of 90 requires resampling every pixel, softens the whole image, and leaves triangular gaps at the corners that have to be cropped or filled. That is a different tool with different trade-offs.