Rotation issue?
See original GitHub issueHey there!
Should auto rotate fix this?
I’m currently using the .rotate()
method to kinda auto-rotate the images for me (tested also without it)… but I recently stumbled on this picture that it isn’t working as expected (end-user perspective) the output is always the same. I tested uploading this photo in popular social networks to see how they handled it and for example… facebook and gmail handles it ok but some of othersites don’t.
Any idea on how to handle this situation correctly?
ps: I’m currently on sharp v0.19.1
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Image Rotation Issue with Windows 10
Image Rotation Issue with Windows 10. ... This Orientation flag describes how many degrees the camera was rotated when the picture was taken....
Read more >How to Fix Auto Rotate Not Working on Android
Fix Auto-Rotate Issues by Restarting Your Android Phone. An easy way to fix most issues on your Android phone is to reboot your...
Read more >How to Fix the Android Screen Rotation Not Working Issue
How to Fix the Android Screen Rotation Not Working Issue · 1. Turn Auto-Rotate On · 2. Restart Your Phone · 3. Check...
Read more >iOS 16 unexpected rotation behaviour
Is anyone facing any issue with rotation on iOS 16? It seems to introduce some unexpected behaviour. For example, if we're on a...
Read more >7 ways to fix Android screen rotation not working
If android auto rotate not working occurs on your phone, try these solutions to re-enable the auto-rotate feature on your Android phone.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lovell I think I found the problem. Apparently, the
toBuffer()
is erasing the EXIF orientation. I added a.withMetadata()
before thetoBuffer()
and it handled it nicely. Is this the expected behaviour?@lovell I appreciate all the help.