Straighten crooked horizons, deskew misaligned document scans, and rotate photos with sub-degree fractional accuracy (-45.0° to +45.0° with 0.1° granular sensitivity) directly in your browser. Engineered for photographers, content creators, and document archivists, this client-side utility features instant 90° clockwise/counter-clockwise turns, 180° inversions, and multi-axis horizontal and vertical mirror flips.
Choose between dual spatial boundary topologies: Auto-Expand Canvas to guarantee zero corner pixel cropping with customizable matting (transparent alpha, solid studio colors, or procedural blurred edge cushions) or Inscribed Auto-Crop to calculate the maximal internal sub-rectangle and eliminate angled empty wedges while locking your original aspect ratio.
Calibrate your composition using real-time Rule-of-Thirds grids, an interactive Horizon Leveling HUD reticle, a 60 FPS split-screen Before/After swipe divider, and a 200%/400% zoom loupe for micro-inspection. With automated EXIF smartphone orientation normalization, batch queue processing for up to 100+ files, zero-dependency in-memory PKZIP archiving, and 100% in-browser HTML5 Canvas execution, your photos remain completely private, secure, and lossless from start to finish.
Universal Image Rotator & Horizon Straightener
Rotate photos by 90°, 180°, or exact fractional degrees (-45.0° to +45.0°). Leveled beach horizons, deskewed document scans, horizontal/vertical mirror flips, and lossless client-side export.
When an image of dimensions W × H is rotated by an arbitrary angle θ, two distinct spatial topologies are possible:
-
Bounding Box Expansion (Zero Corner Cropping): Expands the canvas surface area to
W_new = |W cos θ| + |H sin θ|andH_new = |W sin θ| + |H cos θ|. Every single original pixel is retained, and triangular corner wedges are rendered with your chosen matte backdrop (transparent alpha, solid studio color, or blurred edge cushion). -
Inscribed Maximal Rectangular Crop (Zero Blank Wedges): Calculates the maximum internal rectangle maintaining the original aspect ratio
r = W / Hthat fits entirely inside the angled perimeter, automatically eliminating all empty border wedges without manual cropping.
Modern smartphones (iPhones, Samsung Galaxy, Google Pixel) record camera sensor orientation inside the raw image binary via EXIF Tag 0x0112 (values 1 through 8) instead of physically rotating pixel matrices. Certain browsers, web apps, or operating systems display these photos sideways or upside down.
This studio reads the raw binary EXIF tags upon loading, maps tags 1 through 8 to correct Euclidean rotations and flips, and permanently renders them into upright pixel coordinates before any user transformations are applied.
All canvas transformations, trigonometric matrix interpolations, sub-pixel anti-aliasing, and ZIP archiving take place exclusively inside your browser's memory using HTML5 Canvas (2DContext) and pure native JavaScript. Zero photos or personal documents are ever uploaded to any external server or cloud service.