SnappyImageDiff

Elixir wrapper for image-compare.

Installation

If available in Hex, the package can be installed by adding snappy_image_diff to your list of dependencies in mix.exs:

def deps do
  [
    {:snappy_image_diff, "~> 0.1.0"}
  ]
end

Usage

Provide SnappyImageDiff with two files to compare and an output destination for any diff

SnappyImageDiff.compare("image1.png", "image2.png", "some_directory/diff.png")

For more detail, see the docs.

License

SnappyImageDiff is released under the MIT License. See the LICENSE file for further details.