Cross-checking synthetic files with LibRaw's dcraw_emu showed it reads uncompressed RAF samples as little-endian words and unpacked data under the Nikon compression tag as big-endian words shifted left by four; the readers and test writers now do the same (CR2, lossless NEF, ARW2 and PEF already decoded identically, ~86 dB). The default crop and the final orientation step no longer copy a full frame when they change nothing, lowering the 24 MP peak by two frame copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC