Apply orientation during decode
Supported images are decoded with their embedded orientation. A quarter turn swaps width and height. The preview shows the upright dimensions before any optional manual rotation.
Apply embedded image orientation, rotate in quarter turns, and export the upright pixels as PNG.
The guide
Open a photo to view it with the orientation applied by the browser decoder. Review the result and rotate it left or right in 90-degree steps if needed. Save the resulting pixels as PNG so the displayed orientation is part of the image itself.
A concrete input and expected output from the current implementation.
Input
A 30 × 20 JPEG whose embedded orientation instructs the viewer to rotate it 90 degrees clockwise.
Expected output
A 20 × 30 upright PNG.
The decoder applies the embedded orientation to the pixel grid. Export writes the resulting image in its upright layout.
Supported images are decoded with their embedded orientation. A quarter turn swaps width and height. The preview shows the upright dimensions before any optional manual rotation.
The download is a PNG produced from the current canvas. It retains pixel transparency when present. Its orientation follows the pixels themselves and does not depend on keeping the source photo metadata.
Use Rotate left or Rotate right. Reset rotation returns to the orientation shown by the browser when it opened the file.
The PNG uses the visible pixel layout. It does not rely on the source EXIF orientation to display upright.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Sent. Thank you.