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

JPEGMetaData: support orientation #112

Open
mickleness opened this issue Aug 18, 2023 · 0 comments
Open

JPEGMetaData: support orientation #112

mickleness opened this issue Aug 18, 2023 · 0 comments

Comments

@mickleness
Copy link
Owner

The ImageFileDirectory is parsing an orientation, but it's getting it wrong. Early research suggests we're getting 4 bytes like: 0 0 0 6. We're reading a 2-byte short from the first two bytes, so we get back 0. If we read the last two bytes we get 6 (the correct value).

We need to read up on parsing and see if all shorts are similarly broken.

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