Skip to content

Instantly share code, notes, and snippets.

@isyara
Created January 20, 2015 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isyara/fdce27e3a044ac118f5c to your computer and use it in GitHub Desktop.
Save isyara/fdce27e3a044ac118f5c to your computer and use it in GitHub Desktop.
Script compare image file
#!/bin/sh
compare $2 $1 png:- | montage -geometry +4+4 $2 - $1 png:- > $TMPDIR/imgdiff.png
open $TMPDIR/imgdiff.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment