Skip to content
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

Information request about jpg EXIF rotation #636

Open
markozar opened this issue Sep 13, 2023 · 0 comments
Open

Information request about jpg EXIF rotation #636

markozar opened this issue Sep 13, 2023 · 0 comments

Comments

@markozar
Copy link

markozar commented Sep 13, 2023

We are using Cantaloupe 4.1.7 and this jpg processr:

processor.ManualSelectionStrategy.jpg = TurboJpegProcessor

I set the EXIF Orientation field in cantaloupe.properties to true:

# Whether to auto-rotate images using the EXIF `Orientation` field.
# The check for this field can impair performance slightly.
processor.metadata.respect_orientation = true

However the rotation is not taken into account.
This is the original image (it will show correctly rotated because it is the unprocessed original):

https://ekultura.hr/oais/iiif/2/a-f155c1cd-13fa-3ec1-b62e-68c2737b68d6/full/2835,4409/0/default.jpg

This is a processed smaller version, and it lost the rotation:

https://ekultura.hr/oais/iiif/2/a-f155c1cd-13fa-3ec1-b62e-68c2737b68d6/full/800,/0/default.jpg

Is there something I forgot to setup?
I read that there were several bugs related to EXIF metadata that are solved with the new Cantaloupe version. Will updating Cantaloupe fix the rotation?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant