mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Batch processing (batch.test.ts): - 15 format tests (PBM, PGM, PPM, TIFF, QOI, JP2, SVGZ, DDS, DPX, EPS, TGA, PSD, HDR, ICO, CUR) verifying batch compress produces valid ZIP - 2 delegate-dependent tests (FITS, EXR) that accept 200 or 422 - Mixed-format batch test (PBM + TIFF + QOI in one request) Validation (utilities.test.ts): - 15 new tests for validateImageBuffer covering PBM, PGM, PPM, DDS, DPX, FITS, JP2, QOI, SVGZ, EPS, CUR, HEIF, APNG, DNG + PDF rejection Format detection (detect.test.ts): - 8 fixture-based detection tests (PPM, DNG, JP2, SVGZ, PBM, PGM, HDR, TGA) - 4 synthetic magic byte tests (PPM P3/P6, JP2 box, J2K codestream)