Files
lightcraft/docs
Claude b5dc500c54 Hasselblad 3FR / FFF: uncompressed RGB embedded previews
These files carry no JPEG: their preview is an uncompressed 8-bit RGB
IFD (1217 x 913 in the H4D-40 FFF, 218 x 218 in the CFV 3FR). The
largest such image is handed on by embedded_preview as a small baseline
TIFF, which lightcraft_codecs::decode reads, so 3FR / FFF show a preview
in the grid and loupe before they are developed. No Orientation tag is
written: the raw file's applies, as for JPEG previews without one. The
FFF's 16-bit copy (with a TransferFunction of unknown meaning) is not
used.

decode_raw_preview applied a container-declared colour space by forcing
the JPEG decoder on any owned preview; it now checks for JPEG bytes, so
a wrapped TIFF (or a JPEG XL preview) goes to its own decoder.

Checked on the CC0 H4D-40 FFF and CFV 3FR through
embedded_preview_srgb: right colours, the 3FR upright through its
Rotate90. Tests cover the wrap, the choice among RGB images, a short
strip and truncated files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J2NDVXA8jQQWeJb4YVTb6b
2026-10-15 18:58:05 +00:00
..
2026-10-15 00:44:42 -04:00
2026-10-13 14:34:54 +02:00
2026-10-15 01:42:11 -04:00
2026-10-15 01:42:11 -04:00
2026-10-15 03:24:51 -04:00
2026-10-14 22:32:33 -04:00
2026-10-14 22:33:11 -04:00
2026-10-15 02:39:01 -04:00
2026-10-15 01:42:11 -04:00
2026-10-15 01:42:11 -04:00
2026-10-11 12:03:53 +00:00
2026-10-14 01:29:30 -04:00
2026-10-15 01:48:43 -04:00
2026-10-14 23:54:06 -04:00
2026-10-15 03:40:37 -04:00
2026-10-15 03:40:37 -04:00
2026-10-15 03:40:15 -04:00
2026-10-15 00:50:08 -04:00