blink-diff
blink-diff copied to clipboard
Ignores completely new additions
... that are beyond the boundaries of imageA
.
For example, with this code:
new BlinkDiff({
hideShift: true, // hide anti-aliasing differences (from composited image)
imageA: imageA,
imageB: imageB
})
.run((error, result) => console.log(result.differences);
... these two images result in a logged 0
;
imageA:
imageB:
This is because blinkdiff always clips the images to the minimum of the two
I think that this behaviour should be optional. Does it throw errors otherwise?
I totally agree (I do not maintain this repo, though)
Also to the best of my knowledge it does not throw an error. It simply compares the common part (dimension wise) like you saw.