5 releases
0.1.13 | May 30, 2020 |
---|---|
0.1.12 | May 25, 2020 |
0.1.11 | May 25, 2020 |
0.1.1 | May 25, 2020 |
0.1.0 | May 25, 2020 |
#5 in #dynamic-image
31 downloads per month
130KB
55 lines
image-diff
An image diff library written in rust
Definition
pub fn diff(before: &DynamicImage, after: &DynamicImage) -> Result<DynamicImage>
Usage
[dependencies]
image = "0.23.4"
image-diff = "0.1.0"
let before = image::open("before.png");
let after = image::open("after.png");
let image_diff = diff(&before, &after).unwrap();
image_diff.save("image_diff.png");
Dependencies
~5MB
~62K SLoC