Last active
March 6, 2019 15:49
-
-
Save mrmitew/1c2125c280809de9cba12e74e3e24412 to your computer and use it in GitHub Desktop.
Compare the difference between two images in Git using ImageMagic.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff "image"] | |
command = /path/to/diff-images.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
compare $2 $1 png:- | montage -geometry +4+4 $2 - $1 png:- | display -title "$1" - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment