Skip to main content

avif_native 0.2.0 copy "avif_native: ^0.2.0" to clipboard
avif_native: ^0.2.0 copied to clipboard

Pure Dart AVIF encoder and decoder using native assets and libavif.

0.2.0 #

  • Add premultiplyAlpha to decodeAvif and AvifDecoder. libavif now multiplies the colour channels by alpha during YUV-to-RGB conversion when requested, avoiding a separate pass over the frames in Dart. Frames are still straight alpha by default.
  • avif_native_decoder_create gains a premultiply_alpha argument. Rebuild the native artifacts and update native/manifest.json before publishing.

0.1.1 #

  • Make decode-only configuration default to the available dav1d decoder.
  • Add integration coverage for every native codec profile.

0.1.0 #

  • Add still and animated AVIF decoding and encoding.
  • Add configurable native codec profiles through Dart build hooks.
  • Add capability detection and stable ABI stubs for omitted features.
1
likes
140
points
2.04k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure Dart AVIF encoder and decoder using native assets and libavif.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

code_assets, crypto, ffi, hooks

More

Packages that depend on avif_native