implement exif mirror orientations
See original GitHub issueHi,
In Image.new_from_file
doesn’t work in some cases.
In the following image, it works correctly (simple rotation), with a mirrored image it doesn’t work.
image = pyvips.Image.new_from_file(path, access='random', memory=False, autorotate=True, **kwargs)`
The image left,right and down works, the other not.
What am I doing wrong? Thanks a lot for your help.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
JS Client-Side Exif Orientation: Rotate and Mirror JPEG ...
The github project JavaScript-Load-Image provides a complete solution to the EXIF orientation problem, correctly rotating/mirroring images ...
Read more >JPEG Image Orientation and Exif - jdhao's digital space
The Exif orientation flag can have nine different values from 1 to 9. The image below shows eight of them: Typically, you will...
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 >Writing to the EXIF:Orientation Tag
Those are the simple rotations settings. But the exif standard also allows the image to be mirrored. Exiftool is flexible on what you...
Read more >Developers - implement exif mirror orientations -
implement exif mirror orientations. libvips. 06 November 2019 Posted by jcupitt. It seems some devices do use the mirror modes, ...
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
Hi, Thanks for your answer. The webcam photos can produce mirrored images. Can be this feature supported in
libvips - pyvips
in the future?In the front cam of Samsung s10, I can generate an image mirrored. (reflection)
Thanks @yunixon, i’ve forgot to add the images!