$ ravif
v0.13.0MAJOR UPDATErav1e-based pure Rust library for encoding images in AVIF format (powers the `cavif` tool)
Latest Update Summary
Crate
Name: ravif New version: 0.13.0 Release date: 2026-01-19T02:06:16.292679Z
Crate readme
Short description Encoder/converter for AVIF images.
Long description cavif is a tool to convert PNG/JPEG images to AVIF format, leveraging the rav1e and avif-serialize crates, making it a nearly pure-Rust solution with C LCMS2 used for color profiles. The converter supports multi-threaded encoding and allows quality and speed adjustments during conversion. It is compatible with Rust 1.67 or newer.
Features • multi-threaded encoding • supports PNG and JPEG input • adjustable quality (1-100) • adjustable speed (1-10) • no dependencies • static executable for Linux, macOS, and Windows • optimized defaults for AVIF encoding • supports color space adjustments
Code Examples Basic usage
cavif image.png
Adjust quality
cavif --quality 60 image.png
Output to specific directory
cavif -o output/ image1.png image2.png
Using multiple images
cavif [OPTIONS] IMAGES...
Links • https://github.com/kornelski/cavif/releases • https://caniuse.com/avif • https://rustup.rs
https://api.github.com/repos/kornelski/cavif-rs/releases/186315511
Release info
Release version:
Release description
Code Examples
Minor update: 0.12.0 → 0.13.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add ravifOr add to Cargo.toml: ravif = "0.13.0"