-
Notifications
You must be signed in to change notification settings - Fork 51
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
Preview generator rotating the image by 90 degrees clockwise while generating thumbnail #212
Comments
Hello, Thanks for using preview_generator. In current state preview_generator doesn't look at theses metadata, so the rendered preview image:
So the rendered image by preview_generator is not rotated the way, you expect. There is already a pending issue about this: |
@inkhey way you write "replace exif rotation metadata", you mean "copy rotation metadata from original image to thumbnail one"? If so, it looks like this the right way for me too. |
Any ideas of how to fix this when |
No idea buddy. |
I followed your suggestions and add these code before I send files into PreviewManager
|
You can upgrade Pillow. It is fixed in the latest version. |
Preview generator rotating the image by 90 degrees clockwise while generating thumbnail
Original image:
Generated thumbnail:
Please let me know if I have to change something.
Thanks in advance.
The text was updated successfully, but these errors were encountered: