| Crates.io | avif-info-rust |
| lib.rs | avif-info-rust |
| version | 0.1.0 |
| created_at | 2025-06-18 12:54:28.125072+00 |
| updated_at | 2025-06-18 12:54:28.125072+00 |
| description | A CLI wrapper for the Rust-based libavifinfo, designed for simple validation and extraction. |
| homepage | |
| repository | https://github.com/simplespace-cat/avif-info-rust |
| max_upload_size | |
| id | 1717031 |
| size | 70,122 |
A command-line tool for validating and extracting information from AVIF.
This tool is a CLI wrapper around the Rust implementation of libavifinfo, intended solely for basic validation and extraction tasks.
For decoding images or extracting more advanced features, please use libavif instead.
Note: This tool is based on libavifinfo which is often more permissive than libavif and may return features for images that libavif would consider invalid.
cargo install avif-info-rust
AVIF file information and validation tool
Usage: avif-info-rust [OPTIONS] [PATH]
Arguments:
[PATH]
Options:
-i, --identify
-f, --features
-r, --recursive
--json
-h, --help Print help
-V, --version Print version
avif-info-rust -i ./
[VALID] ./avifinfo_test_1x1_10b_nopixi_metasize64b_mdatsize0.avif
[VALID] ./avifinfo_test_12x34_gainmap_tmap.avif
[VALID] ./avifinfo_test_1x1.avif
[VALID] ./avifinfo_test_2x2_alpha.avif
[VALID] ./avifinfo_test_20x20_gainmap.avif
[VALID] ./avifinfo_test_199x200_alpha_grid2x1.avif
[VALID] ./avifinfo_test_12x34_gainmap_tmap_iref_after_iprp.avif
[SUMMARY] Seen: 7, Processed AVIFs: 7, Valid: 7, Invalid/Errors: 0
This project is licensed under the BSD-2-Clause License.
The AVIF parsing code in lib/lib.rs is based on libavifinfo from Alliance for Open Media, and is subject to their BSD-2-Clause License and Patent License. See LICENSE-AOM and PATENTS-AOM files for details.