Repository navigation
New
-
Animated PNG (APNG) in and out. Every frame, frame delay and the loop
count are kept and verified frame by frame. Airgap's own reader composites
each frame as the specification says, and its writer stores later frames
as changed rectangles. Other targets keep one still image, and the loss
list says which one. Checked against a model of the specification and the
browsers' own APNG decoders. UPNG.js, a test-only dependency, has two
compositing bugs, which are documented and pinned in the tests. -
Animated WebP in and out, converting to and from APNG. Frames are
composited exactly as libwebp's animation decoder does, including its
integer blending, and checked against it sample for sample. A delay that
WebP cannot hold in whole milliseconds is listed before conversion. -
Animated AVIF (image sequences) in and out, with exact fractional
timing, through libavif 1.4.2 + libaom 3.15.2, now built by Airgap
(tools/libavif). It replaces the jSquash AVIF build and is smaller. -
libjxl 0.12.0, built by Airgap (
tools/libjxl), replaces the 2022
snapshot. Its decoder is exact, 16-bit JPEG XL is written and read, and ICC,
EXIF and XMP are carried. -
Reversible JPEG recompression: JPEG to JPEG XL, verified by rebuilding
the JPEG byte for byte. Metadata modes still apply. -
Codec builds are reproducible: pinned Dockerfiles, SHA256SUMS, and a
workflow that rebuilds and compares. -
HEIC, read only, through the browser's or operating system's own
licensed decoder; Airgap ships no HEVC code. Safari's image decoder is
tried first. Otherwise Airgap reads the HEIF container itself (grids, alpha,
rotation) and decodes the HEVC tiles with WebCodecs, converting YUV to RGB
itself. That reaches Chrome where the system has an HEVC decoder. HEIC is
never a target and always carries the decoder-unverified loss. -
Tests can run in Google Chrome (
AIRGAP_BROWSERS=chrome) as well as
Playwright's Chromium, Firefox and WebKit.
Fixed
- Licence texts: libaom's patent licence, libjxl's patent grant and skcms's
licence are now included verbatim (they were missing).
Live: https://satvikpraveen.github.io/airgap/
Codec builds (libjxl, libavif) are reproducible: see vendor/README.md; the "Reproduce codec builds" workflow rebuilt them on GitHub's x86 runners byte-identical to the committed files.