mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
- Add CR3 (Canon) brand detection in ftyp magic bytes, returning "raw" to route through the RAW decode pipeline - Add magic bytes for Fujifilm RAF, Sigma X3F, and Minolta MRW formats - Expand RAW_EXTENSIONS set from 6 to 24 formats (CR3, NRW, RAF, PEF, 3FR, IIQ, SRW, X3F, RWL, GPR, FFF, MRW, MEF, KDC, DCR, ERF, PTX) - Rewrite decodeRaw() with two-tier strategy: ExifTool embedded JPEG extraction (fast path) with ImageMagick+LibRaw fallback (full decode) - Add ext parameter to decodeToSharpCompat/decodeRaw so temp files use the original extension for correct format identification - Pass fileExt from tool-factory when calling decodeToSharpCompat - Add JXL, ICO, PSD, EXR, HDR, TGA MIME entries to CONTENT_TYPE_TO_EXT