A threshold of perceived color difference between two pixels. Ranging from 0 to 1
with 0 being the most sensitive and 1 ignoring basically any difference between two pixels.
This threshold is applied to each pixel. Defaults to 0.1.
Optional detectAntialiasing
detectAntialiasing:boolean
Whether to attempt to detect antialiasing when comparing the images. Defaults to true.
Optional generateDiffImage
generateDiffImage:boolean
If set to false no image visualizing the difference is generated.
A threshold of perceived color difference between two pixels. Ranging from
0
to1
with0
being the most sensitive and1
ignoring basically any difference between two pixels. This threshold is applied to each pixel. Defaults to0.1
.