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"}
]
endUsage
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.
Publishing
After CI has completed and the binaries have been compiled, download them and generate checksum
mix rustler_precompiled.download SnappyImageDiff --all --print
Then publish to Hex
mix hex.publish
License
SnappyImageDiff is released under the MIT License. See the LICENSE file for further details.