-
Notifications
You must be signed in to change notification settings - Fork 37
Fix issue #47 #60
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
base: master
Are you sure you want to change the base?
Fix issue #47 #60
Conversation
Add full Version 2 compliance for parseItemLocationBox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I don’t see anything immediately objectionable. I think technically upgrading a uint16
field to uint32
could technically be a breaking change in some cases, but the fields should probably be expanded regardless, and it should be easy enough for people to cast or change casts where they show up. (That is: there’s no better way to do this, and the cost to users of the API is as minimal as it could be.)
This pull addresses issue #47 and issue #48.
It adds a new test TestExiftool which uses an image that has it's metadata copied via exiftool, which uses a base offset of 4.
It corrects the parseItemLocationBox function to use the base offset size to read either 4 or 8 bytes as required based on the inbound base offset.