Why convert AVIFS to APNG?
AVIFS uses modern AV1 compression that many older tools and browsers still don't support, while .apng is a widely compatible lossless animation built on PNG. People convert to guarantee playback everywhere and to edit frames in standard PNG tooling.
How to convert AVIFS to APNG
FFmpeg OPEN-SOURCE
Run ffmpeg -i in.avifs -f apng -plays 0 out.png to encode an infinitely looping APNG. Build with --enable-libdav1d for AV1 decoding.
apngasm OPEN-SOURCE
Extract the AVIFS frames to PNGs first, then assemble them into a compressed APNG with apngasm out.png frame*.png and set the frame delays.
About these formats
An .avifs file is an animated image built from a sequence of AVIF frames, wrapped in the same ISOBMFF container that MP4 and HEIF use. The Alliance for Open Media created it as the animated…
Open .AVIFS details →A .APNG file is associated with Animated portable network graphics, a raster image file.
Open .APNG details →Quality & what to watch
- APNG is lossless, so the output file is usually far larger than the compressed AVIFS source.
- FFmpeg's animated-AVIF decoding is still incomplete and can drop or duplicate frames; verify the frame count and timing after conversion.
- Any alpha transparency and frame delays should survive, but very high frame counts or 10-bit color may be flattened during re-encoding.