mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
* raw: decode Sony cRAW, Panasonic RW2 (RawFormat 5) and uncompressed Olympus ORF - sony.rs: compressed ARW (SonyRawFileType 2): 32-pixel runs as two 16-byte blocks of 11-bit max/min, 4-bit positions and 7-bit deltas, then the SonyToneCurve (0x7010) to 14 bits. From Dietz (EI 2016) and the RawDigger write-up; bit order and curve scale by observation. - rw2.rs: RawFormat 5 12/14-bit packing (10/9 pixels per 16-byte LE block), stored in 0x4000-byte pages split at 0x1FF8 (observed), with PanasonicRaw CFA, black, linearity limit, WB and sensor borders. RawFormat 4 and older stay unsupported (preview fallback). - orf.rs: uncompressed 16-bit ORF (E-1, E-400): left-justified samples, EXIF CFAPattern, Olympus ImageProcessing black / WB / ValidBits / crop; compressed ORF stays unsupported but its maker-note preview (CameraSettings 0x0101/0x0102) is now found. - testgen: cRAW, RW2 and ORF encoders/builders; vendor_codecs tests round-trip each codec; hostile tests fuzz/truncate all three. Co-Authored-By: Claude Opus 5.5 <[email protected]> * raw: README support matrix for cRAW, RW2, ORF and the clean-room gaps Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>