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

Added code to parse OM System II makernote (uses Olympus II makernote) #642

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

AndyDragon
Copy link

Added code to parse OM System II makernote (uses Olympus II makernote) by checking the signature in ProcessMakernote (matches andydragon/omsystem PR in metadata-extractor-dotnet and andydragon/omsystem PR in metadata-extractor-images)

@@ -459,6 +460,12 @@ private boolean processMakernote(final int makernoteOffset,
// http://exiv2.org/makernote.html
pushDirectory(OlympusMakernoteDirectory.class);
TiffReader.processIfd(this, reader, processedIfdOffsets, makernoteOffset + 12, makernoteOffset);
} else if ("OM SYSTEM\0\0\0II".equals(firstFourteenChars)) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The II suggests Intel byte ordering. Do we know if there's a similar MM variant for Motorola order?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I know of - this pattern matches all the photos I've taken with my OM1. I was under the assumption that the 'II' stood for the same indicator that the makernote was the Olympus second version since OM system bought the imaging division of Olympus and just stuck the new signature there.

@drewnoakes drewnoakes merged commit db9b141 into drewnoakes:master Dec 15, 2023
5 checks passed
@AndyDragon AndyDragon deleted the andydragon/omsystem branch December 15, 2023 18:45
@drewnoakes
Copy link
Owner

Relates to drewnoakes/metadata-extractor-dotnet#354

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