#image #command-line #diff #comparing #visual

bin+lib imgdiff

A command-line and library for comparing two images

2 releases

0.1.1 Sep 19, 2023
0.1.0 Sep 17, 2023

#660 in Images

37 downloads per month

MIT/Apache

13KB
254 lines

imgdiff

A command-line and library for comparing two images.

Features

  • Provide visual diff output.

Installation

Ensure you have Rust and Cargo installed. You can then install the tool with:

cargo install imgdiff

Usage

imgdiff image1.png image2.png out.png

Acknowledgments

  • This project uses the image crate for image processing.

Roadmap

  • Add support thresholds.
  • Make overlay color configurable
  • Optionally generate output image and report difference instead.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~12MB
~70K SLoC