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

Fix for "Auto" noise reduction setting #339

Merged
merged 1 commit into from
Apr 15, 2018

Conversation

davidekholm
Copy link
Contributor

Olympus cameras with the "Auto" noise reduction setting (bit 3 set) causes this code to crash with an IndexOutOfBoundsException.
I've now added support for bit 3 ("Auto") and made the code fault tolerant if future bits are added.

Reference: https://sno.phy.queensu.ca/~phil/exiftool/TagNames/Olympus.html

I add a sample image so you can reproduce the bug and verify the fix I made too.
olympus auto noise reduction

Olympus cameras with the "Auto" noise reduction setting  (bit 3 set) causes this code to crash with an IndexOutOfBoundsException.
I've now added support for bit 3 ("Auto") and made the code fault tolerant if future bits are added.

Reference: https://sno.phy.queensu.ca/~phil/exiftool/TagNames/Olympus.html
@drewnoakes drewnoakes merged commit 8de2330 into drewnoakes:master Apr 15, 2018
@drewnoakes
Copy link
Owner

Thanks David. I'll add the image to the sample library too.

drewnoakes added a commit to drewnoakes/metadata-extractor-images that referenced this pull request Apr 15, 2018
Nadahar pushed a commit to Nadahar/metadata-extractor-images that referenced this pull request Oct 4, 2018
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

Successfully merging this pull request may close these issues.

2 participants