Skip to content

Nikon D800E AF points in the loupe, and the ISO of Hi-ISO NEFs - #3

Merged
holger967 merged 1 commit into
mainfrom
nikon-d800e-af-points
Nov 23, 2026
Merged

holger967 merged 1 commit into
mainfrom
nikon-d800e-af-points

Conversation

@holger967

@holger967 holger967 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Nikon D800E photos now show where the camera focused, drawn like the lit AF point in the viewfinder, and Hi-ISO shots show their ISO.

What you see

  • Loupe (Alt+F): a red rounded box on the D800E's primary AF point, placed on the 51-point grid measured from calibration shots. It follows DX crops and rotated (portrait) photos.
  • Info panel: Focus names the point (e.g. AF-C · … · Point C6). Exposure and Flash rows appear when the photo records them.
  • Focus scan: NEFs are read as well as ARWs and JPEGs, reading only the file header.
  • ISO: Hi 0.3 and up shots get their ISO from the maker note. Reloading metadata fills it for photos imported earlier, with no library rebuild.
  • Sony: unchanged (green brackets).

Dependencies. None changed here. main already builds craft-metadata and craft-tiff from holger967/craft-libs main, which carries storytold/craft-libs#3122. This change carries af_point through instead of leaving it empty.

Tests

  • crates/ui-egui/src/tests/focus_point.rs: a named AF point draws in place and follows rotation; a tiny one grows the same way whether turned or not.
  • crates/engine/src/tests/focus_scan.rs: reads_the_focus_point_of_nikon_nefs.
  • crates/engine/src/cmd/convert.rs: reload_fills_an_iso_an_older_import_missed.
  • crates/catalog/src/tests.rs: af_point round-trips, and is left out of the JSON when absent.

Verification (Windows)

  • Passed:
    • cargo test -p lightcraft-meta -p lightcraft-catalog (375 passed).
    • lightcraft-engine focus and convert tests (26).
    • lightcraft-ui-egui focus_point and info tests (34).
    • cargo clippy -D warnings on those four crates.
    • cargo fmt --check on those four crates.
  • Not run: the full cargo xtask ci.
  • Earlier, the same change was used daily in an installed build on about 670 D800E NEFs.

- The D800E's primary AF point is drawn as the camera draws it: a red rounded
  box on the measured 51-point grid, through DX crops and rotation. The Info
  panel names the point (Point C6); Exposure and Flash rows when recorded.
- The focus scan reads NEFs as well as ARWs and JPEGs.
- Hi 0.3 and up shots get their ISO from the maker note; reloading metadata
  fills it for photos imported before.
- FocusPoint's af_point is now carried through instead of left empty.
@holger967
holger967 force-pushed the nikon-d800e-af-points branch from e132389 to 425bad0 Compare November 23, 2026 15:04
@holger967
holger967 merged commit f7ac23a into main Nov 23, 2026
holger967 added a commit that referenced this pull request Nov 23, 2026
Nikon D800E AF points in the loupe, and the ISO of Hi-ISO NEFs
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.

1 participant