Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra diff attributes - "pixel-changes" #42

Open
paul-hammant opened this issue Dec 26, 2023 · 0 comments
Open

Extra diff attributes - "pixel-changes" #42

paul-hammant opened this issue Dec 26, 2023 · 0 comments

Comments

@paul-hammant
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant