You could just make your own external difftool that displays the two images side by side, and add that in to ~/.gitconfig.
Then you could just call that external difftool when comparing images:
git difftool --tool img-diff
Just an example.