Created
April 3, 2012 08:22
-
-
Save jacobrask/2290417 to your computer and use it in GitHub Desktop.
Text diff of images in git
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
*.png diff=xpm |
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 "xpm"] | |
textconv = img2xpm.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 | |
# ImageMagick is required. | |
convert $1 xpm:- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment