question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support EXIF Orientation

See original GitHub issue

When loading an image with EXIF orientation, image-js just ignores it. This results in rotate calls not rotating to the desired orientation when wanting to rotate relative to the way the image is shown in an <img> element.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
targoscommented, Jul 9, 2021

I just opened a PR to fix this: https://github.com/image-js/image-js/pull/563

1reaction
targoscommented, Jul 9, 2021

Hello, I can have a look. Could you post such an image to this issue, so we can use it in a test case?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exif orientation in different formats - Tuomas Siipola
Investigating how JPEG, WebP, PNG and AVIF store Exif metadata and do web browsers support Exif orientation in all these formats.
Read more >
Is there a way to tell browsers to honor the jpeg exif orientation?
From the latest update of chromium/chrome version 81, it will support exif orientation from image itself. This means ...
Read more >
Rotate Photos to be Upright - Sirv Help Center
How to rotate photos so they appear upright. Save time with auto-rotate and use Sirv to fix incorrect EXIF orientation values in your...
Read more >
CSS3 image-orientation | Can I use... Support ... - CanIUse
CSS property used generally to fix the intended orientation of an image. This can be done using 90 degree increments or based on...
Read more >
Add support for EXIF orientation · Discussion #191 - GitHub
Most, if not all, image viewers already support automatically rotating the displayed image based on EXIF orientation and even browsers are now doing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found