Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
AVIF is an image codec based on the next-generation open, royalty-free video coding format AV1.
AVIF gets compression ratios considerably better than JPEG for similar quality levels.
This crate wraps the Alliance for Open Media's libavif into an unsafe rust crate.
Minimal safe wrappers are provided by libavif and
a image
-compatible libavif-image.
Codec Features
This crate, by default, uses codec-dav1d
for decoding and codec-rav1e
for encoding, because
they are the best performing. You can disable those features and instead use codec-aom
.
Compiling
cmake
is required for compiling the crate.
dav1d
requires ninja/meson for compiling.
rav1e
is implemented in Rust and has no other dependencies (though note that libavif itself
uses it through its C-API.
Platform support
This crate is only expected to compile on Linux. Patches accepted.
License
This crate is released under the BSD-2-Clause license. The dependant C-libraries are released under similarly permissive licenses. Patent licenses are also provided.