//! Encode an image to HEIC with default settings.
//!
//! Opens the bundled JPEG, encodes it to HEIC bytes with [`heif::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!;