mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-26 11:09:23 -06:00
The Huffman-compressed Pentax files (compression 65535) assumed BGGR from the array origin. The K10D, K200D, K2000 and every body from the K-3 on are RGGB, so red and blue were exchanged before demosaicing. They now use the Exif CFAPattern from the first sample of the stored array, like the other compressions; BGGR stays the fallback for files without the tag. Extends the CFA test to compression 65535. RENDER_CACHE_VERSION 17 to 18.