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

Update olympus tags (#2246) #2249

Merged
merged 11 commits into from
Jul 19, 2022

Conversation

postscript-dev
Copy link
Collaborator

@postscript-dev postscript-dev commented Jun 11, 2022

Update translation output of Exif.OlympusCs.ArtFilter/Exif.OlympusCs.MagicFilter, Exif.OlympusCs.ImageStabilization and Exif.OlympusCs.WhiteBalance tags.

Fix Exif.OlympusCs.ImageStabilization type from unsignedShort to unsignedLong.

Ref: Exiftool Olympus tags and Olympus E-M10 Mark II instuction manual.

Closes #2246.

+ Enable `ArtFilter` translations to be used in more situations.
  This is consistent with the equivalent ExifTool tags.
+ Add user color choice to `Partial Color` output.
+ Add `( )` around output of values that cannot be translated.
+ Add testing.
`Exif.OlympusCs.ImageStabilization`
- Change type from `unsignedShort` to `unsignedLong` (ExifTool)
- Add extra `On, Mode 4` translated output (ExifTool)
- Add specific translated output for E-M10 Mark II camera

`Exif.OlympusCs.WhiteBalance`
- Add missing `)` to translated output

Cf: [Exiftool Olympus tags](https://www.exiftool.org/TagNames/Olympus.html).
@postscript-dev postscript-dev added the prettyPrinter Anything related to the output formatting of a value label Jun 11, 2022
@postscript-dev postscript-dev self-assigned this Jun 11, 2022
@codecov
Copy link

codecov bot commented Jun 11, 2022

Codecov Report

Merging #2249 (43ebce5) into main (dc4ae73) will increase coverage by 0.02%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main    #2249      +/-   ##
==========================================
+ Coverage   63.52%   63.54%   +0.02%     
==========================================
  Files         118      118              
  Lines       19600    19601       +1     
  Branches     9560     9559       -1     
==========================================
+ Hits        12450    12456       +6     
+ Misses       5082     5080       -2     
+ Partials     2068     2065       -3     
Impacted Files Coverage Δ
src/olympusmn_int.cpp 39.64% <88.88%> (+1.26%) ⬆️
src/tiffvisitor_int.cpp 79.48% <0.00%> (+0.11%) ⬆️
src/tags_int.hpp 88.37% <0.00%> (+2.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dc4ae73...43ebce5. Read the comment docs.

@postscript-dev postscript-dev marked this pull request as draft June 11, 2022 18:29
@postscript-dev postscript-dev marked this pull request as ready for review June 15, 2022 14:10
src/olympusmn_int.cpp Outdated Show resolved Hide resolved
@postscript-dev postscript-dev merged commit 94f8889 into Exiv2:main Jul 19, 2022
@kmilos kmilos added the makerNote Anything related to one of the various supported MakerNote formats label Aug 10, 2022
@postscript-dev postscript-dev deleted the fix_olympus_tags_2246 branch October 18, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
makerNote Anything related to one of the various supported MakerNote formats prettyPrinter Anything related to the output formatting of a value
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exif.OlympusCs.ArtFilter not fully parsed on Olympus E-M10 Mark II
2 participants