piksel_avif 0.1.1
piksel_avif: ^0.1.1 copied to clipboard
AVIF support for piksel via the platform's own decoder (Android 12+, iOS 16+, macOS 13+) — no bundled codec.
piksel_avif #
AVIF support for piksel — stills and animation.
Piksel.configure(Piksel(
components: const ComponentRegistry(decoders: [AvifDecoder()]),
));
PikselImage.network('https://example.com/photo.avif'); // animated AVIF plays
Detection uses the mime type and the ISOBMFF ftyp brand
(avif/avis/mif1/miaf), so mislabelled responses still decode.
Animated sources play via piksel's AnimatedDecoder seam.