Skip to content

Instantly share code, notes, and snippets.

@xgouchet
Created April 16, 2015 07:05
Show Gist options
  • Select an option

  • Save xgouchet/46396814bfac6d52c41d to your computer and use it in GitHub Desktop.

Select an option

Save xgouchet/46396814bfac6d52c41d to your computer and use it in GitHub Desktop.

Revisions

  1. xgouchet created this gist Apr 16, 2015.
    3 changes: 3 additions & 0 deletions git-imgdiff
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/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" -