Skip to content

Instantly share code, notes, and snippets.

@jacobrask
Created April 3, 2012 08:22
Show Gist options
  • Save jacobrask/2290417 to your computer and use it in GitHub Desktop.
Save jacobrask/2290417 to your computer and use it in GitHub Desktop.
Text diff of images in git
*.png diff=xpm
[diff "xpm"]
textconv = img2xpm.sh
#!/bin/sh
# ImageMagick is required.
convert $1 xpm:-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment