Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DiffImagesArguments

Hierarchy

  • DiffImagesArguments

Index

Properties

Optional colorThreshold

colorThreshold: number

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.

image1

image1: DiffImage

The first image to compare.

image2

image2: DiffImage

The second image to compare.

Generated using TypeDoc