News for hackers. Stuff that matters.
Re:How to build a `Git diff` driver by tarun_anand on Saturday April 11, 2026 @11:12PM (#47735842)
Is there an OSS git diff for images and multimedia?
Re:How to build a `Git diff` driver by alkh on Sunday April 12, 2026 @12:22AM (#47736137)
I bet there might be something but you can probably create your own by using ImageMagick[1] and some manipulations. For ex. for images, I would create a temp file or use a process substitition + open on OSX or xdg-open on Linux. Here is a first post about

Or you can make it even easier(cause the output is only a text) and simply print out the difference in metadata directly. You might need some other tools like ImageMagick but at least no shenanigans with viewing binary data as part of your diff.

[1]https://stackoverflow.com/questions/5132749/diff-an-image-us...

Re:How to build a `Git diff` driver by da_rob on Sunday April 12, 2026 @12:35AM (#47736191)
Yes, there is imgap: https://github.com/roblillack/imgap

You can use it to create delta images for git diff but also to interactively compare changes via git difftool.