Skip to content

Instantly share code, notes, and snippets.

@jrodbx
Created February 19, 2019 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrodbx/5534ca7d0ed58dfa98e6c42945d3632d to your computer and use it in GitHub Desktop.
Save jrodbx/5534ca7d0ed58dfa98e6c42945d3632d to your computer and use it in GitHub Desktop.
image diff
convert '(' ~/Desktop/before.png -flatten -grayscale Rec709Luminance ')' \
'(' ~/Desktop/after.png -flatten -grayscale Rec709Luminance ')' \
'(' -clone 0-1 -compose darken -composite ')' \
-channel RGB -combine ~/Desktop/diff.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment