Repository navigation
Replies: 1 comment
|
Thanks for the detailed proposal! I think this would be a useful addition to Lap. My preferences:
One implementation detail: the current detail reader extracts and caches embedded metadata before filtering the response by section. A separate section therefore controls requests and display, but does not necessarily defer MakerNotes parsing itself. Please verify the scan-time and detail-loading impact rather than assuming it is zero based on For the first PR, please keep this read-only, with no database schema or XMP writeback changes. Tests should cover source-group matching, missing fields, and ensuring standard EXIF values remain unaffected. Happy to review an initial Fujifilm implementation along these lines. Thanks for contributing! |
Uh oh!
There was an error while loading. Please reload this page.
Hi @julyx10,
First, congrats on
v0.4.0! The newmetadata/architecture (exiftool-rs 1.0.0,schema.rs, section-scoped lazy detail fetching, andFileInfoFieldsDialog) is super clean and already handles the heavy lifting for reading camera metadata on demand.In line to what we discussed on #391, and now that we have the foundational architecture set, I'd like to propose to work on adding multi-brand MakerNotes display to the File Info panel—covering Fujifilm, Sony, Canon, Nikon, and Leica (and easily extensible to other brands supported by
exiftool-rs)—by plugging directly into the existingschema.rs+embedded.rs+fileInfoFields.tspipeline.Before writing a PR, I'd love your feedback on the updated scope and design below.
Motivation:
Standard EXIF only captures basic exposure numbers (aperture, shutter speed, ISO), whereas MakerNotes preserve the more creative in-camera settings chosen at capture time (film simulations / picture styles, dynamic range, tone curves, stabilization, focus/drive modes, and shutter count). Showing these settings directly in File Info enriches how photographers review, learn from, and compare shots across their collection.
Why This Fits Naturally Into
v0.4.0embedded.rsalready callsExifToolwith["*", "XMP"]on demand when a detail section is opened, soexiftool-rsalready decodes MakerNotes in memory—they are currently just filtered out because"MakerNotes"isn't inTECHNICAL_GROUPS/DETAIL_FIELDS.stored: false), cached per file indetail_cache, and skipped entirely if the section is collapsed or disabled inFileInfoFieldsDialog.defaultFileInfoFields(enabled viaAllorCustominFileInfoFieldsDialog) and leveragehideEmptyFieldsso only tags present on that camera/file are shown.2. Proposed Design: Brand-Native Labels in File Info
Photographers think in their camera's native terminology (e.g., Film Simulation & Dynamic Range on Fujifilm vs. Picture Control & Active D-Lighting on Nikon vs. Creative Style & DRO on Sony). Rather than forcing generic terms like "Color Profile" in the UI, File Info should display brand-specific labels matching the camera that took the photo:
exiftool-rsSource TagsFilmMode)• Dynamic Range (
DynamicRange,DevelopmentDynamicRange,DynamicRangeSetting)• Highlight Tone (
HighlightTone) · Shadow Tone (ShadowTone)• Color (
Saturation) · Sharpness (Sharpness) · Clarity (Clarity)• High ISO NR (
NoiseReduction) · WB Shift (WhiteBalanceFineTune)• Grain Effect (
GrainEffectRoughness,GrainEffectSize)• Color Chrome Effect (
ColorChromeEffect) · Color Chrome FX Blue (ColorChromeFXBlue)• Focus Mode (
FocusMode) · Image Stabilization (ImageStabilization) · Shutter Count (ImageCount)CreativeStyle) · Picture Effect (PictureEffect) · Picture Profile (PictureProfile)• D-Range Optimizer (
DynamicRangeOptimizer) · HDR (HDR)• Contrast / Saturation / Sharpness (
Contrast,Saturation,Sharpness)• High ISO NR (
HighISONoiseReduction)• Focus Mode (
FocusMode) · Release Mode (ReleaseMode)• SteadyShot (
ImageStabilization) · Shutter Count (ShutterCount,ImageCount)PictureStyle)• Auto Lighting Optimizer (
AutoLightingOptimizer) · Highlight Tone Priority (HighlightTonePriority)• Sharpness (
Sharpness) · Saturation (Saturation) · Clarity (Clarity)• High ISO NR (
HighISONoiseReduction) · WB Shift (WBShiftAB,WBShiftGM)• Focus Mode (
FocusMode) · Drive Mode (DriveMode)• Image Stabilization (
ImageStabilization) · Shutter Count (ShutterCount)PictureControlName) · Picture Control Adjust (PictureControlAdjust)• Active D-Lighting (
ActiveD-Lighting)• Sharpness (
Sharpness) · Clarity (Clarity) · High ISO NR (HighISONoiseReduction)• Focus Mode (
FocusMode) · Shooting Mode (ShootingMode)• Vibration Reduction (
VibrationReduction) · Shutter Count (ShutterCount)FilmMode,PhotoStyle,ColorEffect)• Intelligent D-Range (
IntelligentD-Range)• Highlight (
Highlight) · Shadow (Shadow)• Saturation (
Saturation) · Sharpness (Sharpness) · Noise Reduction (NoiseReduction)• WB Shift (
WBAdjustAB,WBAdjustGM) · Grain Effect (GrainEffect)• Focus Mode (
FocusMode) · Image Stabilization (ImageStabilization) · Shutter Count (ShutterCount)(Exact
exiftool-rstag names andfamily0/family1group scopes will be verified against sample files for all 5 brands.)FileInfoFieldsDialogstructure:To keep
FileInfoFieldsDialogclean while still showing brand-native labels inFileInfo.vue, there are two clean options—which do you prefer?schema.rs/fileInfoFields.ts(e.g.,makerNotes.pictureStyle,makerNotes.dynamicRange,makerNotes.shutterCount), and resolve the display label dynamically by cameraMake/family1(so a Fujifilm photo renders"Film Simulation"while a Nikon photo renders"Picture Control").schema.rs(e.g.,fuji.filmMode,nikon.pictureControl), and haveFileInfo.vue/FileInfoFieldsDialogorganize them per camera brand.FileInfo.vue(e.g., Camera Settings / MakerNotes) or inside the existing Capture section? (A separate section keepsCapturefocused on standard EXIF and ensuresREADERnever triggers MakerNotes lookup unless that section is expanded.)TECHNICAL_GROUPSinembedded.rs: To avoid MakerNotes tags ever shadowing standard EXIF tags inSource/Capture/Location, I'd propose keeping"MakerNotes"scoped exclusively to the new section rather than adding it globally toTECHNICAL_GROUPS. Does that match your intent?GrainEffectRoughness+GrainEffectSize→"Weak / Small", orDynamicRangewhenAuto), is a small section-specific formatter inembedded.rsacceptable?Can you comment if this direction looks good for Lap?
Thanks!
All reactions