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

Rotate images which are taken with Jolla's camera app #6

Open
skvark opened this issue Jun 9, 2015 · 1 comment
Open

Rotate images which are taken with Jolla's camera app #6

skvark opened this issue Jun 9, 2015 · 1 comment
Assignees

Comments

@skvark
Copy link
Owner

skvark commented Jun 9, 2015

If user tries to process an image which was taken with Jolla's camera app and the orientation was not standard, image will appear in wrong orientation after preprocessing since afaik Jolla's camera app only adds exif orientation information and does not actually rotate the image and seems that Leptonica does not support exif data.

Fix: find a way to read the exif data and rotate the image before preprocessing.

skvark pushed a commit that referenced this issue Jun 14, 2015
…which were selected from gallery and rotate if necessary
@skvark
Copy link
Owner Author

skvark commented Jun 14, 2015

This issue is resolved/tested partly in d6305bd. I did some testing with Jolla's camera app and exif orientations 1, 3 and 6 work now correctly. The mirrored orientations haven't been tested.

Jolla's camera app doesn't tag the image correctly if the phone is upside down (usb port points down to earth) - the orientation tag should be 8 but the app tags it as a 1. This incorrect behaviour can be observed in the Jolla's gallery app too.

See http://www.impulseadventure.com/photo/exif-orientation.html for more info about the orientation tag.

@skvark skvark self-assigned this Aug 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant