Commit Graph
3006 Commits
Author SHA1 Message Date
robmdunnandClaude ef3d7bc67f LR-PROF-CAMERACOLOR: document the pooled curve continuing a tone-only fit
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 19:41:32 -04:00
robmdunn 16cc541d0a LR-PROF-CAMERACOLOR: revision rows out of the parity checklist's Import table
Two revision rows from this PR, and two older LR-IMP-FORMATS ones, sat in the six-column
A. Import table instead of the revision history. Found by CodeRabbit on #2092.
2026-10-18 19:02:02 -04:00
robmdunn 542bb59fbf LR-PROF-CAMERACOLOR: continuing a photo's curve keeps it where its JPEG taught it
To make room for the pooled extension in the curve's 32 knots, extend_tone kept every
n-th knot of the photo's own curve, which could move the curve inside the range its JPEG
showed (a sharp toe most). It now drops the knots the curve needs least, one at a time,
within one 8-bit code (thinned_knots); with fewer extension knots if needed, or the
photo's curve as fitted when even two don't fit. On a D750 bracket renders move by at
most dE 0.09. LOOK_VERSION 13. Found by CodeRabbit on #2093.
2026-10-18 19:01:56 -04:00
robmdunn 174c56c977 LR-PROF-CAMERACOLOR: photos too dark for colour pairs still give the pooled curve their shadows
profile_samples returned nothing when collect_pairs found no colour pairs, so the darkest
photos, the ones that show the camera's toe, never reached the pooled tone curve. Their
tone samples are now kept; Pool counts them apart from the colour fit's photos and
calibrate reports them as tone only. A black-and-white camera JPEG (a monochrome picture
style's own mix and curve) gives nothing, as before. Found by CodeRabbit on #2093.
2026-10-18 19:01:56 -04:00
robmdunn 27d65b252b LR-PROF-CAMERACOLOR: only a look with the profile's colour takes its pooled tone curve
The pooled curve maps luminance through the profile's matrix. A photo whose own fit
rejected the profile's colour renders through its own matrix, so continuing its curve
along the pooled one gave it a highlight mapping fitted to other colours. Such a look now
keeps its curve as fitted (with_pooled_tone). LOOK_VERSION 12. Found by CodeRabbit on #2093.
2026-10-18 19:01:55 -04:00
robmdunn 1105af1d9e LR-PROF-CAMERACOLOR: pooled tone fit keeps negative channels, as the render does
fit_profile_tone clamped each channel at zero after the profile matrix before taking
luminance. Raw decoding keeps negative channels and the camera curve gets their
unclamped luminance, so saturated colours were fitted at a different input than they
render at (a magenta with negative green read 30% brighter). Found by CodeRabbit on #2092.
2026-10-18 19:01:55 -04:00
robmdunn d54ea1fa24 LR-PROF-CAMERACOLOR: camera profiles carry a pooled tone curve
lightcraft-cli calibrate also pools tone samples (camera RGB -> camera JPEG
luminance, dark pixels included) and fits one curve per camera by quantile
matching; profiles store it as an optional `tone` field (older profiles and
builds still load). A photo keeps its own curve as far as its JPEG showed it and
follows the pooled curve past that, faded over 1 EV (extend_tone), instead of
the bounded shoulder that rendered underexposed photos pushed back up 4-7 L*
too dark; a photo no look fits takes the pooled curve whole.

On NIKON D780 brackets, pushed frames now match the properly exposed frame
within 0.5 L*; on 120 held-out D780/D750/D90 photos rendered as shot the curve
changes mean dE against the camera JPEG by at most 0.03.

LOOK_VERSION 11.
2026-10-18 19:01:55 -04:00
robmdunn 97dd58a748 LR-PROF-CAMERACOLOR: dark photos keep their camera profile's colour
A photo whose camera JPEG is too dark (or too colourless) for any look to fit
dropped its camera profile's colour for the neutral fallback. It now keeps the
profile's colour, with the JPEG's tone curve when one fits, else the default raw
tone curve (CameraTone::default_raw). On NIKON D780 frames 3.7 EV under, pushed
back up, colourfulness goes from 37% of the properly exposed frame's to 88-99%.

LOOK_VERSION 10, RENDER_CACHE_VERSION 65.
2026-10-18 19:01:46 -04:00
robmdunn 0ef612f518 LR-PROF-CAMERACOLOR: raw decoding keeps negative channels
Decoding clamped each linear Rec.2020 channel at zero after the colour matrix.
Near black those values are sensor noise, and the clamp kept only the positive
half of each channel's noise: through a saturating camera matrix red and blue
have the widest noise, so pushed shadows and dark frames came out magenta (a
black frame pushed 4 EV: sRGB (64, 28, 65) in its darkest 40%, (2, 4, 4) now).
Negative channels now pass through to noise reduction and the output gamut
mapping, which already moves colours toward their luminance until in range;
only non-finite values are zeroed. Moving each negative colour toward its
luminance at decode instead still left it pink ((34, 14, 22)).

RENDER_CACHE_VERSION 66.
2026-10-18 19:00:57 -04:00
Dylan M. Taylor 31a677fe3d docs: drop references to competing commercial software (#2213) 2026-10-18 10:41:49 -04:00
Brandon Thomas a945533f63 Merge pull request #2236 from storytold/claude/integrate-batch-42
Integration batch 42: 31 community PRs
2026-10-18 10:39:21 -04:00
Brandon Thomas d43dd1fc8f Merge PR #1778: Model downloads: Time out and cancel the name lookup (#1532) 2026-10-18 10:05:47 -04:00
Brandon Thomas 6f5d662df3 Merge PR #2235: Georgian: a symbol Noto Sans Georgian cannot paint 2026-10-18 09:53:40 -04:00
Brandon ThomasandClaude Opus 5.5 70265ed17a Batch 42: #1893's heap test passes the Copy DecodeOptions without clone (clippy 1.99)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 09:53:39 -04:00
Michael Anderson 19008bdee9 Test cancelling a name lookup while it waits 2026-10-18 08:36:24 -05:00
Brandon Thomas 56c9b49634 Merge PR #1919: Hasselblad FFF: colour matrix from the embedded 3FR header
# Conflicts:
#	docs/parity-checklist.md
#	docs/raw-parity.md
2026-10-18 09:22:57 -04:00
Brandon Thomas 2c60d2ab27 Merge PR #1778: Model downloads: Time out and cancel the name lookup (#1532) 2026-10-18 09:22:41 -04:00
Brandon Thomas 4b6db59ade Merge PR #1903: LRC-PRINT-PAGE: Page Options print page numbers, page info and crop marks (gap 15)
# Conflicts:
#	docs/gaps.md
#	docs/parity-checklist.md
2026-10-18 09:22:40 -04:00
Brandon ThomasandClaude Opus 5.5 cbdbd50f84 Merge main into #1919 (main already dropped the drop(write) line)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 09:21:51 -04:00
Brandon ThomasandClaude Opus 5.5 fe7edd7b26 Model downloads: the What's New note gets its own heading
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 09:21:34 -04:00
Brandon ThomasandClaude Opus 5.5 1e4aa93d58 LRC-PRINT-PAGE: the preview draws no Page Options for a package, as the print doesn't
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 09:21:12 -04:00
Brandon Thomas 7614fb14f1 Merge PR #1902: docs: refresh README features, counts and setup requirements 2026-10-18 09:20:46 -04:00
Brandon Thomas 2983a40385 Merge PR #1960: Merged develop settings are kept in range, as XMP import keeps them 2026-10-18 09:20:45 -04:00
Brandon Thomas 583e3ceefc Merge PR #2091: Reject trailing text after a bracketed IPv6 host in Url::parse 2026-10-18 09:20:43 -04:00
Brandon Thomas 5b66a4825e Merge PR #2150: Keep face index records aligned after a torn or failed append 2026-10-18 09:20:42 -04:00
Brandon Thomas dee8358c38 Merge PR #1838: Drop out-of-range GPS coordinates read from XMP 2026-10-18 09:20:40 -04:00
Brandon Thomas 8d41bf69f7 Merge PR #1894: HEIF: max_pixels on uncropped SPS sizes and grid totals (#1518) 2026-10-18 09:20:39 -04:00
Brandon Thomas f4e7d07e9b Merge PR #1989: TIFF: read strips and tiles larger than 128 MiB 2026-10-18 09:20:37 -04:00
Brandon Thomas 4e77935e6e Merge PR #2070: Show the applied profile when hovering it in the profile browser (#2057) 2026-10-18 09:20:36 -04:00
Brandon Thomas 7134099101 Merge PR #1691: LR-EXP-TYPE: omit redundant alpha from opaque 8-bit exports (#1670) 2026-10-18 09:20:34 -04:00
Brandon Thomas ad22d059db Merge PR #1844: fix(import): keep Lightroom luminance ranges open at white, report unmapped local sliders
# Conflicts:
#	contributors/people.toml
2026-10-18 09:20:33 -04:00
Brandon Thomas 29384a0404 Merge PR #1898: LR-MERGE-HEADLESS: merge dialogs remember the last settings per kind 2026-10-18 09:20:21 -04:00
Brandon Thomas 70100a34c5 Merge PR #2144: Strip XML 1.0-forbidden characters from XMP sidecar output 2026-10-18 09:20:19 -04:00
Brandon Thomas 363dbbdd9f Merge PR #2224: X-Trans CMOS 4 bodies take the X-T3's spectral matrices 2026-10-18 09:20:17 -04:00
Brandon Thomas 80e2d0e64a Merge PR #1884: AI denoise: support 102 MP Bayer raws (#1880) 2026-10-18 09:20:16 -04:00
Brandon Thomas d3b6266d07 Merge PR #1964: Contributors: add Marco Arnulfo
# Conflicts:
#	contributors/people.toml
2026-10-18 09:20:09 -04:00
Brandon Thomas c9f383b368 Merge PR #2040: Ignore zero or negative ISO when importing XMP 2026-10-18 09:19:45 -04:00
Brandon Thomas 389be0f6a9 Merge PR #2105: l10n: unify zh-hant library term and contact sheet wording 2026-10-18 09:19:43 -04:00
Brandon Thomas f819c8439b Merge PR #2151: Make TIFF chunk-length inference and header-plan merging fast 2026-10-18 09:19:42 -04:00
Brandon Thomas e6a7501adc Merge PR #1416: Localize Info Overlay mode-change notices 2026-10-18 09:19:29 -04:00
Brandon Thomas 0a0cb19011 Merge PR #1893: JPEG XL: check dimensions during loading & bound tracked allocations (#1517) 2026-10-18 09:19:27 -04:00
Brandon Thomas 7b65a6a59f Merge PR #1911: Contributors: credit nledford by real name 2026-10-18 09:19:26 -04:00
Brandon Thomas d43889145b Merge PR #2046: Start crop drags in the zone the cursor showed at the press 2026-10-18 09:19:24 -04:00
Brandon ThomasandClaude Opus 5.5 6985cfa54c Drop the README notes: toast language is not README material
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 09:18:48 -04:00
Brandon Thomas 592cb335cb Merge PR #1935: raw: alias Canon EOS R6 Mark II to EOS R6m2 2026-10-18 09:18:21 -04:00
Brandon Thomas d6a9a2e8f9 Merge PR #1845: Match f:/aperture:/focal: search tokens at f32 precision 2026-10-18 09:18:19 -04:00
Brandon Thomas 11308a5c8a Merge PR #2035: Reject out-of-range start in photo.rename and photo.renamePreview 2026-10-18 09:18:17 -04:00
Brandon Thomas 9bf08f6ce6 Merge PR #2083: Reject signed hex digits in #rrggbb colour parsing 2026-10-18 09:18:16 -04:00
Brandon Thomas 5c85bc3ee4 Merge PR #2149: Refuse catalog snapshots with an out-of-range seq 2026-10-18 09:18:14 -04:00
Hamza 0c3c500ea4 Georgian: a symbol Noto Sans Georgian cannot paint
`cargo xtask ci` fails with the craft-fonts input supplied, which CLAUDE.md says
releases always build with:

    ka in Proportional (faces: ["Noto Sans Georgian"]) lack glyphs: ✕

Two strings in ka.json use ✕ (U+2715). Noto Sans Georgian has no glyph for it
and egui's bundled fonts do not either, so a Georgian reader gets a blank where
the text describes the activity stack's stop control. Without the fonts input
those twenty tests skip, so a plain `cargo xtask ci` is green and this stayed
invisible.

The two Georgian values use × (U+00D7) instead: it reads the same at text size
and every face has it. The English keys are untouched — they are the source text
from docs/whats-new.md, and the test checks values, which is the right scope. An
English reader's font covers ✕; the problem is a translation carrying it into a
script whose face does not.

`translated_catalogs_do_not_use_missing_menu_triangles` already forbids ▸ and ▾
in locale JSON for the same reason, so ✕ joins them in one list. That matters
because ✕ is in the English source of those two strings: every language that
translates them next would hit the same failure, and a cheap test now catches it
instead of the font-dependent one.
2026-10-18 18:12:18 +05:00