mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-24 10:09:01 -06:00
CR2 and PEF decode without a camera colour matrix, like ARW, NEF, RW2, RAF and CR3, but camera_preview::file_local_look (and the catalog's relative white balance) left them out, so they rendered with the neutral fallback matrix: the camera preview showed first, then a flat, desaturated render replaced it. They now use the same guarded fit and relative WB; a fit that fails the gates keeps the fallback, so a file can only stay as it was or move closer to its camera JPEG. Not measured on the corpus here (raw.pixls.us is blocked from this environment). RENDER_CACHE_VERSION 15 re-renders cached CR2/PEF thumbnails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01912WaK6Rmew3wxZuPyX7E8