#diff #image #dynamic-image

image-diff

An image diff library written in rust

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

MIT/Apache

130KB
55 lines

image-diff image-diff at crates.io image-diff at docs.rs

An image diff library written in rust

sample

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