heif-rs 26.6.0

Encode and decode HEIF/HEIC images with x265 and libde265, via statically-linked libheif.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Print the version of the statically linked libheif library.
//!
//! This is the smallest possible call into the native library — if it prints a version string, the prebuilt static
//! binaries were downloaded and linked correctly.
//!
//! Run with:
//!
//! ```text
//! cargo run --example version
//! ```

fn main() {
    println!("linked libheif version: {}", heif::libheif_version());
}