image-diff

Crates.ioimage-diff
lib.rsimage-diff
version0.1.13
sourcesrc
created_at2020-05-25 14:03:32.824822
updated_at2020-05-30 09:27:12.224023
descriptionAn image diff library written in rust
homepage
repositoryhttps://github.com/zeroclock/image-diff
max_upload_size
id245577
size148,034
Y.Matsuda (zeroclock)

documentation

https://docs.rs/image-diff

README

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");
Commit count: 13

cargo fmt