Rotation guide
How to rotate an image without cropping the corners
A 90° turn is simple: width and height swap. At any other angle, keeping every corner requires a larger canvas or a smaller image.
Last updated: July 13, 2026
Expand, Crop, and Fit compared
| Canvas strategy | Keeps every source pixel | Keeps original dimensions | Trade-off |
|---|---|---|---|
| Expand | Yes | No | Larger canvas and visible corner background |
| Crop | No | Yes | Corners may be cut off |
| Fit | Yes | Yes | The image becomes smaller inside the canvas |
Why a slight rotation creates empty corners
Picture a rectangular print turned on a desk. Its corners now extend beyond the old rectangular footprint. A digital canvas behaves the same way. If the canvas does not grow, something must give: crop the corners or scale the rotated image down.
Expand calculates a new bounding box large enough to contain the rotated rectangle. The unused corner areas need a background. Keep them transparent for PNG or WebP, or choose a solid color for JPEG. The new width and height are shown in the preview before export.
This is different from straightening a horizon by cropping. Straightening often accepts a small crop to remove empty wedges. If the photo contains artwork, a document, or edge-to-edge text, Expand is usually the safer choice.
Choose by what cannot change
The whole image must survive
Use Expand for scanned pages, artwork, product labels, and photos with important detail touching the edge.
Rotate & Flip ImageThe exact canvas must survive
Use Fit when a template requires the current dimensions and a smaller image is acceptable.
Rotate & Flip ImageThe frame matters more than the edges
Use Crop for small horizon corrections when the outer pixels are expendable.
Image CropperTry the 90° shortcuts first
If the image is simply sideways or upside down, use Rotate Left, Rotate Right, or 180°. Right-angle turns do not create diagonal corner gaps.
Rotate & Flip ImageEnter the exact correction
For a tilted scan or horizon, use the angle control and alignment grid. Judge vertical and horizontal references near the center, not a distorted edge.
Switch the canvas strategy
Compare Expand, Crop, and Fit in the preview. Watch both the corners and the reported output dimensions.
Choose the corner background
Transparency is useful when another layout will sit behind the image. Use a solid color for a finished JPEG.
Check each unusual image in a batch
Shared settings are efficient, but one portrait or tightly framed scan may need its own angle or canvas strategy.
A cleaner rotation
Do
- Use the grid for small angle corrections
- Check the output dimensions before export
- Use a per-image override for the odd file in a batch
- Keep transparency only in a compatible output format
Don't
- Do not call re-encoded JPEG rotation lossless
- Do not use Crop when edge text or artwork must remain
- Do not confuse horizontal flip with correcting a sideways photo
- Do not repeatedly save and rotate the same JPEG copy
Which setting rotates without cropping?
Expand keeps the complete rotated image by increasing the canvas. Fit also keeps every pixel, but scales the image down inside the original canvas.
Why does a 90° rotation not need a larger canvas?
At 90° the same rectangle still fits exactly after its width and height swap. Arbitrary angles create a wider and taller bounding box.
Is JPEG rotation lossless here?
No. Pixlery applies the orientation and exports a newly encoded image. The dimensions and framing are controlled, but the original JPEG bitstream is not preserved.
Should I rotate or flip a mirrored selfie?
Use horizontal flip for a mirror-image problem. Rotation changes which edge is up; it does not reverse left and right.
Use Pixlery tools
Rotate and flip images
Rotate JPG, PNG, and WebP images by 90° or any angle, flip them, and export locally with a clear canvas strategy.
Open tool04Crop images
Crop, rotate, and flip JPG, PNG, and WebP images with precise aspect ratios and local processing.
Open tool03Convert images
Convert JPG, PNG, and WebP images in batches without uploading them to a server.
Open tool