git-diff-image icon indicating copy to clipboard operation
git-diff-image copied to clipboard

Extra diff attributes - "pixel-changes"

Open paul-hammant opened this issue 2 years ago • 0 comments

Context I've toolchain that regenerates images held in git (uses Selenium to capture as png from a page of a webapp on localhost. Dates change every time, which I want to forgive and revert. Pixel changes may gave happened, which I would want to not revert.

Can you add a pixel differences score to the text attributes of git diff? 0 would be no pixel differences and the number would go up from there the more changes there were. Thanks?

Sure git diff-image shows pixel changes but I'd like a scriptabilty to my goal that doesn't involve my eyeballs :)

You could implement some other way of course - like the middle of the montage pic into a file on it's own, and advice of how to query that for redness from the command line :)

Great work so far, of course.

  • Paul

paul-hammant avatar Dec 26 '23 16:12 paul-hammant