-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta from image with exif rotation #949
Comments
It is a bug, but I'm not sure when I can go and fix it. Any chance you can help with a PR? |
mhh. I'm a real python noob and got no infrastructure to code and test python projects. I would think I would break everything if I'll fix it :D |
@heynemann do you think you can spend some time on this? |
Would you agree, that the meta data for the original of the image (with an exif-Orientation Tag != 1) would still be the physical size of the original image (e.g. not rotated) And the meta data for a thumbnailed/resized/whatever changed (and exif stripped) image is then rotated, when RESPECT_ORIENTATION=True ? |
@pscheit Can you try my solution to see if it solves your problem? |
LGTM |
Thumbor request URL
http://192.168.99.100:8000/unsafe/meta/fit-in/620x620/filters:quality(75)/my/image/imgp9768.jpg
EXIF data:
Expected behaviour
The meta data should report the new dimensions from the rotated image.
(415px x 620px)
Actual behaviour
The meta data reports the dimensions of the image BEFORE it was rotated
(620px x 415px)
When I remove "meta" the image is correctly fitted in and turned correctly. EXIF Information is also correct.
Operating system
Linux (Docker)
Your thumbor.conf
RESPECT_ORIENTATION=True
Is it my fault? or a bug?
Thank you so much for writing thumbor!
Philipp
The text was updated successfully, but these errors were encountered: