//! Encode an image to AVIF with default settings.
//!
//! Opens the bundled JPEG, encodes it to AVIF bytes with [`avif::encode`], and writes the result to a file in the
//! `assets/` directory.
//!
//! Run with:
//!
//! ```text
//! cargo run --example encode
//! ```
use Error;
const SOURCE: &str = concat!;