OSP-BLOG

Open Source Publishing – Graphic Design Caravan

diff git imagemagick

Tools · October 19th, 2010 ·

From wikipedia: In computing, diff is a file comparison utility that outputs the differences between two files.

We have been playing with git. There’s more coming! For now, this quick prototype (30M) illustrates some ideas about diff, and images files. It will hopefully be improved in the future 🙂

In the context of a configuration file, we are combining git’s flexibility regarding the choice of a difftool with the image compare features of Imagemagick:

[difftool "mydifftool"]
cmd = composite $LOCAL $REMOTE -compose difference x:

It’s a digest of two stackoverflow threads:
Are there revision control systems for images?
How do I view ‘git diff’ output with visual diff program?

It’s all lo-fi.

Tags: ·