aboutsummaryrefslogtreecommitdiff
path: root/vendor/image/src/codecs/avif/mod.rs
blob: f74217cf3b0d7090e5b4820523bbb3bcf7455b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Encoding of AVIF images.
///
/// The [AVIF] specification defines an image derivative of the AV1 bitstream, an open video codec.
///
/// [AVIF]: https://aomediacodec.github.io/av1-avif/
#[cfg(feature = "avif-decoder")]
pub use self::decoder::AvifDecoder;
#[cfg(feature = "avif-encoder")]
pub use self::encoder::{AvifEncoder, ColorSpace};

#[cfg(feature = "avif-decoder")]
mod decoder;
#[cfg(feature = "avif-encoder")]
mod encoder;