How Image Rotation Works
Image rotation transforms each pixel's position around a center point using trigonometry. For every pixel in the original image, the tool calculates where it should land in the rotated canvas. Because rotating by anything other than 90-degree multiples causes pixels to land between grid points, interpolation is needed to fill in the gaps and produce a smooth result.
Rotation changes the bounding box of the image. A rectangular image rotated by 45 degrees needs a larger canvas to fit the diagonal corners. The tool automatically expands the output canvas to accommodate the full rotated image, with transparent (PNG) or empty corners that you can later crop if desired.
Rotation vs Flipping: Understanding the Difference
Rotation turns the image around its center point — like turning a page. A 90-degree clockwise rotation moves the top edge to the right side. A 180-degree rotation turns it completely upside down. A 360-degree rotation brings you back to where you started.
Flipping (also called mirroring) creates a mirror image across an axis. Horizontal flip swaps left and right — like looking in a mirror. Vertical flip swaps top and bottom — like holding the image up to a mirror from above. Flipping is not the same as 180-degree rotation; each produces a different result.
Best Practices for Clean Results
For 90, 180, and 270 degree rotations, use the quick preset buttons — these are lossless operations for rectangular images because each pixel simply maps to a new position without interpolation. For arbitrary angles, expect a very slight softening due to interpolation, especially at sharper edges and text.
When fixing tilted photos, rotate by small increments (1-5 degrees) and then crop the result to remove the angled corners. This gives you a straightened photo with clean edges. Use grid lines or architectural features as reference points to get the angle right.
For selfies that look wrong because front cameras produce mirror images, use horizontal flip to see yourself as others see you. For text that appears backwards in a screenshot or reflection, horizontal flip will make it readable again.