Skip to content

Instantly share code, notes, and snippets.

@xgouchet
Created April 16, 2015 07:05
Show Gist options
  • Save xgouchet/46396814bfac6d52c41d to your computer and use it in GitHub Desktop.
Save xgouchet/46396814bfac6d52c41d to your computer and use it in GitHub Desktop.
A tool to show image changes in git diff
#!/bin/sh
# this uses ImageMagick, so make sure it's installed for this to work
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