Repository navigation
feat(file-info): add Canon, Nikon, Sony, and Panasonic/Leica Camera Settings MakerNotes support - #593
Merged
julyx10 merged 2 commits intoNov 25, 2026
Conversation
julyx10
approved these changes
Nov 25, 2026
Owner
|
Great work! Merged. Thanks for the contributions! 👍👍👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've opened the next round of Camera Settings MakerNotes support covering Canon, Nikon, Sony, and Panasonic / Leica, verified against real RAW/JPEG samples from each brand.
Since the field list grows across brands, I also added brand filter pills and a per-brand
Select all/Deselect alltoggle in Customize fields so single-brand users can configure their camera in two clicks without changing the config schema. Olympus / OM System and Ricoh / Pentax can follow next. I checked Hasselblad but they do not generate any Makernotes information.Summary
Builds on #592 to extend the read-only Camera Settings MakerNotes section in File Info to Canon, Nikon, Sony, and Panasonic / Leica, while keeping Fujifilm behavior (including ACROS/Monochrome/Sepia
Saturationhandling) unchanged.To keep the Customize fields dialog ergonomic as more brands are added, this PR also adds brand filter pills and a quick
Select all/Deselect alltoggle to theCamera Settingssection.Key Changes
Backend (
src-tauri/src/metadata/)schema.rs,embedded.rs): Replacedallowed_groups(family0, family1)with priority-orderedmaker_sources(family0, family1, tag_name)triples so brand-specific tag names cannot collide across brands or shadow standard EXIF tags.MakerNotes/Canonavoids duplicate tags in Canon.CR3Track4.MakerNotes/Sonyavoids lookup-tableColorModeentries in SonySR2DataIFD*groups.embedded.rs): Filters out non-values ("","n/a","(none)") such as Nikon Z6/Z30"n/a"entries whenPictureControlNameisAuto.embedded.rs): CombinesWBShiftAB+WBShiftGMinto"AB <ab>, GM <gm>"for Canon and Panasonic while preserving Fujifilm formatters (DynamicRange,GrainEffect, and ACROS/Monochrome/SepiaSaturationhandling).contrastandshutterCount(strictlyShutterCounton Nikon/Sony — neverImageCount); extendedsaturation,sharpness,noiseReduction,clarity,whiteBalanceShift,focusMode,driveMode, andimageStabilizationacross supported brands.pictureStyle,autoLightingOptimizer,highlightTonePriority.pictureControl,activeDLighting.creativeStyle,pictureProfile,pictureEffect,dynamicRangeOptimizer.photoStyle,intelligentDRange(Leica D-Lux usesMakerNotes/Panasonic; native Leica M/SL usesMakerNotes/Leica).Frontend (
src-vite/)fileInfoFields.ts,FileInfo.vue): Wired all 13 new keys intocameraSettings(still excluded fromdefaultFileInfoFields; section remains collapsed by default).FileInfoFieldsDialog.vue): Added compact brand filter pills (All,Fujifilm,Canon,Nikon,Sony,Panasonic / Leica) and aSelect all/Deselect alltoggle scoped to the currently visible brand's fields. Filtering is view-only and requires no persisted config schema changes.src-vite/src/locales/*.json): Added labels for all new fields andfile_info.all_brandsacross all 17 locale files.Scope & Constraints
Verification
.CR2,.CR3), Nikon (.NEF), Sony (.ARW,.SR2), Panasonic (.RW2), Leica (.RWL,.DNG), and Fujifilm (.RAF,.JPG). Files obtained from raw pixls.us repository (https://raw.pixls.us/#repo).cargo test --bin Lap --offline metadata::embedded— 33 passed, 0 failed (including 10camera_settings_testscovering Fujifilm, Canon, Nikon, Sony, and Panasonic/Leica edge cases).node --test tests/fileInfoMetadata.test.mjs— 27 passed, 0 failed (including brand filter assertions and locale key coverage across all 17 languages).npx vite build— clean build.Next Round
Olympus / OM System and Ricoh / Pentax are planned for the next follow-up PR. Additional brands can be added based on user's inputs