Skip to content

Extra diff attributes - "pixel-changes" #42

@paul-hammant

Description

@paul-hammant

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions