butteraugli-cli-0.7.2 is not a library.
butteraugli-cli
Command-line tool for computing butteraugli perceptual image quality scores.
Installation
Or download pre-built binaries from GitHub Releases.
Usage
# Compare two images
# Show quality rating with colors
# CI mode - exit code 1 if score exceeds threshold
# Compare all images in two directories
# Output JSON for scripting
# Save difference heatmap
Score Interpretation
| Score | Quality | Description |
|---|---|---|
| 0.0 - 0.5 | Excellent | Imperceptible difference |
| 0.5 - 1.0 | Good | Barely noticeable |
| 1.0 - 2.0 | Acceptable | Noticeable but acceptable |
| 2.0 - 3.0 | Poor | Clearly visible difference |
| 3.0+ | Bad | Large, obvious difference |
Exit Codes
0- Success (score within threshold if--max-scorespecified)1- Score exceeded threshold2- Error (file not found, invalid image, etc.)
Library
For programmatic use, see the butteraugli library crate.
License
BSD-3-Clause