THPDFRenderedCompareOptions
Configures perceptual page comparison, changed-region reporting, optional overlays, and allocation bounds
Fields
DPIselects rendering resolution and is capped at 2,400ColorSpaceselects RGB maximum-channel or luminance differenceColorToleranceignores per-pixel deltas at or below 0 through 255MinimumSimilaritysets the lowest accepted SSIM-like score from 0 through 1MaxChangedPixelRatiosets the greatest accepted changed-pixel fraction from 0 through 1TileSizesets the square tile edge used to join changed pixels into regionsMaxChangedRegionslimits retained region details while preserving the total region countMaxPixelsPerPagelimits either rendered page before allocationMaxTotalPixelslimits aggregate compared pixelsGenerateHeatmapsenables PNG difference overlaysHeatmapDirectoryselects the overlay output directoryOverlayOpacitycontrols changed-pixel highlight opacity from 0 through 255
Default values
Default returns 72 DPI, RGB comparison, exact color and similarity gates, 64-pixel tiles, 256 retained regions, 100 million pixels per page, 500 million total pixels, disabled heatmaps, and opacity 160
Invalid finite ranges are normalized to safe defaults or clamped bounds before comparison
Acceptance rule
A page is similar only when changedPixelRatio <= MaxChangedPixelRatio and similarity >= MinimumSimilarity