Usage: dify [options]
Options:
-h, --help print this help menu
-v, --version print the version
-d, --dont-check-dimensions
don't check image dimensions
-b, --diff-based-on-left
draw the diff image based on the left image
-a, --detect-anti-aliased
detect anti-aliased pixels. default: false
-l, --left FILE the file path of the left image (original)
-r, --right FILE the file path of the right image (comparing)
-o, --output FILE the file path of diff image (output), output PNG only.
default: diff.png
-t, --threshold NUM matching threshold, ranges from 0 to 1, less more
precise. default: 0.1
dify -l img-base.jpg -r img-check.jpg
Currently we have following CLI parameters:
Minimum usage could be:
Few things on my mind:
-l, --left FILEand-r, --right FILE, it'd look likedify img-base.jpg image-check.jpg-b, --diff-based-on-left, accepts--copyImageAand--copyImageBotherwise--no-copy(diff mask only)