mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Add input decode support for 10 new image format families: - JPEG 2000 (JP2/J2K): opj_decompress with ImageMagick fallback - EPS: ImageMagick + Ghostscript delegate with 50MB size guard - DDS: ImageMagick decode, first frame extraction - CUR: reuses ICO decoder (structurally identical) - DPX/Cineon: ImageMagick with sRGB colorspace conversion - FITS: ImageMagick with normalize + sRGB conversion - QOI: stub decoder (real codec deferred to Task 4) - PPM/PGM/PBM/PFM: Sharp-native via libvips (no CLI decoder needed) - SVGZ: gzip decompression with bomb protection before SVG sanitization - APNG: accepted via extension, decoded as PNG first frame by Sharp Updates magic bytes, MIME mappings, and frontend accept lists across all file picker entry points (dropzone, tool page, file upload, editor).