[{"data":1,"prerenderedAt":865},["ShallowReactive",2],{"navigation_docs":3,"-diff-algorithms":121,"-diff-algorithms-surround":862},[4,41,51,56,104,116],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":40},"Learn","i-lucide-book-open","\u002Flearn","1.learn",[10,15,20,25,30,35],{"title":11,"path":12,"stem":13,"icon":14},"What visual regression testing is","\u002Flearn\u002Fwhat-is-visual-regression-testing","1.learn\u002F1.what-is-visual-regression-testing","i-lucide-eye",{"title":16,"path":17,"stem":18,"icon":19},"How image diffing works","\u002Flearn\u002Fhow-image-diffing-works","1.learn\u002F2.how-image-diffing-works","i-lucide-diff",{"title":21,"path":22,"stem":23,"icon":24},"Why screenshots flake","\u002Flearn\u002Fwhy-screenshots-flake","1.learn\u002F3.why-screenshots-flake","i-lucide-shuffle",{"title":26,"path":27,"stem":28,"icon":29},"Baselines and approval","\u002Flearn\u002Fbaselines-and-approval","1.learn\u002F4.baselines-and-approval","i-lucide-check-check",{"title":31,"path":32,"stem":33,"icon":34},"Running in CI","\u002Flearn\u002Frunning-in-ci","1.learn\u002F5.running-in-ci","i-lucide-workflow",{"title":36,"path":37,"stem":38,"icon":39},"FAQ","\u002Flearn\u002Ffaq","1.learn\u002F7.faq","i-lucide-circle-help",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":40},"Deep dives","i-lucide-telescope","\u002Fdeep-dives","3.deep-dives",[47],{"title":48,"path":49,"stem":50,"icon":43},"Types of visual diffing","\u002Fdeep-dives\u002Fdiff-engines","3.deep-dives\u002F1.diff-engines",{"title":52,"path":53,"stem":54,"icon":55},"Compare the tools","\u002Fcompare","4.compare","i-lucide-scale",{"title":57,"path":58,"stem":59,"children":60,"icon":63},"Manifest","\u002Fmanifest","5.manifest\u002F1.index",[61,64,69,74,79,84,89,94,99],{"title":62,"path":58,"stem":59,"icon":63},"The run manifest","i-lucide-file-json",{"title":65,"path":66,"stem":67,"icon":68},"Write your own converter","\u002Fmanifest\u002Fwrite-a-converter","5.manifest\u002F10.write-a-converter","i-lucide-wrench",{"title":70,"path":71,"stem":72,"icon":73},"The format","\u002Fmanifest\u002Fformat","5.manifest\u002F2.format","i-lucide-file-code",{"title":75,"path":76,"stem":77,"icon":78},"Reading manifests","\u002Fmanifest\u002Freading","5.manifest\u002F3.reading","i-lucide-book-open-check",{"title":80,"path":81,"stem":82,"icon":83},"Merging the manifests of a run","\u002Fmanifest\u002Fmerging","5.manifest\u002F4.merging","i-lucide-merge",{"title":85,"path":86,"stem":87,"icon":88},"Writing manifests","\u002Fmanifest\u002Fwriting","5.manifest\u002F5.writing","i-lucide-pencil-line",{"title":90,"path":91,"stem":92,"icon":93},"Converting to and from other formats","\u002Fmanifest\u002Fconverting","5.manifest\u002F6.converting","i-lucide-arrow-left-right",{"title":95,"path":96,"stem":97,"icon":98},"Reference","\u002Fmanifest\u002Freference","5.manifest\u002F7.reference","i-lucide-list",{"title":100,"path":101,"stem":102,"icon":103},"Schema reference","\u002Fmanifest\u002Fschema","5.manifest\u002F8.schema","i-lucide-braces",{"title":105,"path":106,"stem":107,"children":108,"icon":14},"Viewer","\u002Fviewer","6.viewer\u002F1.index",[109,111],{"title":110,"path":106,"stem":107,"icon":14},"In-browser Viewer",{"title":112,"path":113,"stem":114,"icon":115},"Command line","\u002Fviewer\u002Fcli","6.viewer\u002F2.cli","i-lucide-terminal",{"title":117,"path":118,"stem":119,"icon":120},"Which diff algorithm is best for you?","\u002Fdiff-algorithms","8.diff-algorithms","i-lucide-git-compare",{"id":122,"title":117,"body":123,"description":855,"extension":856,"links":857,"meta":858,"navigation":859,"path":118,"seo":860,"stem":119,"__hash__":861},"docs\u002F8.diff-algorithms.md",{"type":124,"value":125,"toc":833},"minimark",[126,136,143,148,151,155,162,166,169,172,188,192,215,218,221,226,230,234,237,241,244,248,251,255,258,262,265,269,272,276,279,283,329,346,368,393,411,439,458,480,484,491,704,710,714,717,764,768,787,790,823,827],[127,128,129,130,135],"p",{},"Every visual regression tool has to decide whether two images are \"the same\". The algorithm behind that decision changes what your test suite notices and what it lets through: the same JPEG artifacts that fail one comparison are invisible to another. This page helps you choose, shows how the algorithms differ and, instead of asserting how they behave, measures them: five algorithms, eight example image pairs, every number computed by the engines of the ",[131,132,134],"a",{"href":133},"\u002Fimage-diff","image diff tool"," and committed with the page.",[127,137,138,139,142],{},"For the basics (color tolerance, anti-aliasing, the maximum diff ratio) read ",[131,140,141],{"href":17},"how image diffing works"," first; this page is about choosing between algorithms.",[144,145,147],"h2",{"id":146},"pick-by-situation","Pick by situation",[127,149,150],{},"Find your situation, then read the measured evidence below the table. Each card quotes the numbers from the examples further down.",[152,153],"diff-algorithm-cards",{":detail":154},"true",[127,156,157,158,161],{},"No algorithm wins everywhere. The usual answer is a pixel comparison with anti-aliasing detection and a small maximum diff ratio, in a pinned rendering environment (see ",[131,159,160],{"href":22},"why screenshots flake","), and a second, structural check only where the pixel one is too noisy.",[144,163,165],{"id":164},"the-five-algorithms-side-by-side","The five algorithms side by side",[127,167,168],{},"The first four rows describe what each algorithm does. The last row is a measurement: the median of five runs on a 960×600 page, executed in the tool's Web Worker in Chromium. Treat it as a ranking, not a benchmark: it depends on the machine, and Resemble.js's figure includes the library decoding the images itself.",[170,171],"diff-algorithm-table",{},[127,173,174,175,179,180,183,184,187],{},"The numbers an algorithm returns live on different scales, so a table of results is not a ranking of algorithms: ",[176,177,178],"code",{},"0.66%"," from pixelmatch, ",[176,181,182],{},"0.9938"," from SSIM and ",[176,185,186],{},"0 \u002F 64"," from the hash all describe the same pair of images.",[144,189,191],{"id":190},"measured-examples","Measured examples",[127,193,194,195,198,199,202,203,206,207,210,211,214],{},"Eight pairs, each made by rendering a small web page in Chromium and changing one thing about it. Every cell below is what an algorithm returned with its defaults, plus the variants that explain the differences: pixelmatch with anti-aliasing detection off (",[176,196,197],{},"includeAA",") and with ",[176,200,201],{},"threshold"," 0, and Resemble.js with ",[176,204,205],{},"ignore"," set to ",[176,208,209],{},"nothing"," and to ",[176,212,213],{},"antialiasing",". Cells are shaded by how large the difference is on the algorithm's own scale: green for none, amber for small, red for large. The last column of the first block is a judgement, not a measurement: whether most teams would want a test to fail for it.",[216,217],"diff-matrix",{},[127,219,220],{},"Each example below shows the two images, the diff each algorithm drew, and a link that opens the pair in the tool, where you can change the options and see the result.",[222,223,225],"h3",{"id":224},"text-shifted-by-a-sub-pixel","Text shifted by a sub-pixel",[227,228],"diff-example",{"pair":229},"subpixel-text",[222,231,233],{"id":232},"everything-moved-by-1-px","Everything moved by 1 px",[227,235],{"pair":236},"one-pixel-shift",[222,238,240],{"id":239},"slight-color-tint","Slight color tint",[227,242],{"pair":243},"color-tint",[222,245,247],{"id":246},"jpeg-compression-artifacts","JPEG compression artifacts",[227,249],{"pair":250},"jpeg-compression",[222,252,254],{"id":253},"an-element-was-added","An element was added",[227,256],{"pair":257},"added-element",[222,259,261],{"id":260},"different-image-sizes","Different image sizes",[227,263],{"pair":264},"size-mismatch",[222,266,268],{"id":267},"scattered-noise","Scattered noise",[227,270],{"pair":271},"noise",[222,273,275],{"id":274},"one-letter-changed","One letter changed",[227,277],{"pair":278},"typo",[144,280,282],{"id":281},"what-the-numbers-say","What the numbers say",[127,284,285,289,290,294,295,297,298,300,301,304,305,307,308,310,311,307,314,316,317,320,321,324,325,328],{},[286,287,288],"strong",{},"A tolerance, not the algorithm class, separates strict from forgiving."," The exact comparison counts ",[291,292],"diff-value",{"config":293,"pair":229},"exact"," of the pixels on the sub-pixel text shift, ",[291,296],{"config":293,"pair":271}," on the noise and ",[291,299],{"config":293,"pair":250}," on the JPEG. pixelmatch at its default threshold counts ",[291,302],{"config":303,"pair":229},"pixelmatch",", ",[291,306],{"config":303,"pair":271}," and ",[291,309],{"config":303,"pair":250},". Set its threshold to 0 and it counts ",[291,312],{"config":313,"pair":271},"pixelmatch-0",[291,315],{"config":313,"pair":250}," again. Resemble.js behaves the same way: its default tolerances give ",[291,318],{"config":319,"pair":250},"resemble"," on the JPEG, ",[176,322,323],{},"ignore: nothing"," gives ",[291,326],{"config":327,"pair":250},"resemble-0",".",[127,330,331,334,335,338,339,341,342,345],{},[286,332,333],{},"Anti-aliasing detection removes a little over half of the text noise, not all of it."," On the sub-pixel text shift pixelmatch counts ",[291,336],{"config":337,"pair":229},"pixelmatch-aa"," with detection off and ",[291,340],{"config":303,"pair":229}," with it on. The rest is a different problem; a ",[131,343,344],{"href":22},"pinned renderer"," removes it at the source.",[127,347,348,351,352,354,355,357,358,360,361,363,364,367],{},[286,349,350],{},"Tolerance hides subtle color drift."," The tint of three RGB points is counted as ",[291,353],{"config":293,"pair":243}," by the exact comparison and as ",[291,356],{"config":313,"pair":243}," by pixelmatch at threshold 0, but as ",[291,359],{"config":303,"pair":243}," at the default threshold and ",[291,362],{"config":319,"pair":243}," by Resemble.js's default. SSIM reads ",[291,365],{"config":366,"pair":243},"ssim",": it works on brightness, so a color change at equal brightness does not register. If a design token must not drift, lower the threshold.",[127,369,370,373,374,376,377,379,380,382,383,385,386,388,389,392],{},[286,371,372],{},"A small real change can be smaller than harmless noise."," The one-letter typo is ",[291,375],{"config":303,"pair":278}," of the pixels for pixelmatch, less than the sub-pixel text shift (",[291,378],{"config":303,"pair":229},") and the JPEG (",[291,381],{"config":303,"pair":250},"). A maximum diff ratio that lets the JPEG through lets the typo through too. SSIM, with ",[291,384],{"config":366,"pair":278},", scores it better than the harmless 1 px shift (",[291,387],{"config":366,"pair":236},"); the hash sees nothing at all (",[291,390],{"config":391,"pair":278},"phash","). Changing the algorithm does not fix this: masks over the regions that change, a limit per region, or a renderer that does not produce the noise do.",[127,394,395,398,399,401,402,404,405,407,408,410],{},[286,396,397],{},"Nothing here forgives a shift."," One pixel of movement counts ",[291,400],{"config":303,"pair":236}," for pixelmatch, ",[291,403],{"config":319,"pair":236}," for Resemble.js and drops SSIM to ",[291,406],{"config":366,"pair":236},", about where the added cookie notice puts it (",[291,409],{"config":366,"pair":257},"). These algorithms compare position by position, so fixing the layout instability is the way, or the blink view of the tool to see what moved.",[127,412,413,416,417,297,419,320,421,423,424,426,427,429,430,432,433,435,436,438],{},[286,414,415],{},"The hash separates structure from noise, at the price of small changes."," It reads ",[291,418],{"config":391,"pair":271},[291,420],{"config":391,"pair":250},[291,422],{"config":391,"pair":257}," on the added element and ",[291,425],{"config":391,"pair":264}," on the images of different heights. pixelmatch at its defaults also ignores the noise (",[291,428],{"config":303,"pair":271},") and SSIM stays at ",[291,431],{"config":366,"pair":271},", so noise alone does not set the hash apart. What does is that it needs no tolerance to tell the large changes from the rest. The price is the typo and the 1 px shift (",[291,434],{"config":391,"pair":236},"), which it cannot resolve, and any global brightness or color change: the median includes the average-brightness coefficient, so a uniform shift leaves the hash unchanged (the color tint reads ",[291,437],{"config":391,"pair":243},").",[127,440,441,444,445,447,448,450,451,453,454,457],{},[286,442,443],{},"Different sizes are handled differently by every tool, and by the algorithms."," pixelmatch refuses them outright. The tool pads the smaller image first (magenta by default, or transparent), so the padding counts as a difference: ",[291,446],{"config":293,"pair":264}," for the exact comparison, ",[291,449],{"config":303,"pair":264}," for pixelmatch and ",[291,452],{"config":391,"pair":264}," for the hash. Resemble.js reports ",[176,455,456],{},"isSameDimensions: false"," and compares the two on the larger canvas itself.",[127,459,460,463,464,467,468,470,471,473,474,476,477,479],{},[286,461,462],{},"Speed."," On the 960×600 page the exact comparison takes ",[291,465],{"config":293,"pair":278,"show":466},"ms",", pixelmatch ",[291,469],{"config":303,"pair":278,"show":466},", the hash ",[291,472],{"config":391,"pair":278,"show":466},", Resemble.js ",[291,475],{"config":319,"pair":278,"show":466}," and SSIM ",[291,478],{"config":366,"pair":278,"show":466},". The SSIM figure is for the library's default downsampling: it shrinks images whose smaller side is over 256 px before comparing, which makes it faster and blurs one-pixel details. Turn the downsampling off in the tool to compare every pixel.",[144,481,483],{"id":482},"which-tools-use-which","Which tools use which",[127,485,486,487,490],{},"What each tool does underneath, read from the packages' own source and metadata on 2026-11-07 (versions in the first column). A tool that is not here either is not documented at this depth or does its comparison on a server; the ",[131,488,489],{"href":53},"comparison"," lists what each one documents.",[492,493,494,510],"table",{},[495,496,497],"thead",{},[498,499,500,504,507],"tr",{},[501,502,503],"th",{},"Tool",[501,505,506],{},"Comparison",[501,508,509],{},"Different sizes",[511,512,513,547,581,599,633,648,663,689],"tbody",{},[498,514,515,529,544],{},[516,517,518,524,525,528],"td",{},[131,519,523],{"href":520,"rel":521},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@pixsame\u002Fcypress-plugin-visual-regression-diff",[522],"nofollow","pixsame"," (",[176,526,527],{},"@pixsame\u002Fcypress-plugin-visual-regression-diff"," 1.0.0)",[516,530,531,532,535,536,539,540,543],{},"pixelmatch 7.2.0 (YIQ color distance). Options reach pixelmatch through ",[176,533,534],{},"diffConfig","; by default anti-aliased pixels count (",[176,537,538],{},"includeAA: true","). ",[176,541,542],{},"maxDiffThreshold"," is a share of the pixels, 0.01 by default.",[516,545,546],{},"Pads to the larger size and adds a warning",[498,548,549,561,578],{},[516,550,551,556,557,560],{},[131,552,555],{"href":553,"rel":554},"https:\u002F\u002Fplaywright.dev\u002Fdocs\u002Ftest-snapshots#options",[522],"Playwright"," ",[176,558,559],{},"toHaveScreenshot"," (1.64.1 and 1.65.0)",[516,562,563,564,566,567,307,570,573,574,577],{},"A copy of pixelmatch (YIQ) inside Playwright; ",[176,565,201],{}," 0.2 by default, ",[176,568,569],{},"maxDiffPixels",[176,571,572],{},"maxDiffPixelRatio"," for the limit. An optional ",[176,575,576],{},"comparator: 'ssim-cie94'"," uses a CIE94 color distance and SSIM only to recognize anti-aliasing.",[516,579,580],{},"Pads to the larger size and fails with the two sizes in the message",[498,582,583,591,597],{},[516,584,585,590],{},[131,586,589],{"href":587,"rel":588},"https:\u002F\u002Fgithub.com\u002Famericanexpress\u002Fjest-image-snapshot",[522],"jest-image-snapshot"," (6.5.2)",[516,592,593,594,328],{},"pixelmatch ^5.1.0 (YIQ), or ssim.js ^3.1.1 with ",[176,595,596],{},"comparisonMethod: 'ssim'",[516,598],{},[498,600,601,612,630],{},[516,602,603,556,608,611],{},[131,604,607],{"href":605,"rel":606},"https:\u002F\u002Fvitest.dev\u002Fguide\u002Fbrowser\u002Fvisual-regression-testing",[522],"Vitest",[176,609,610],{},"toMatchScreenshot"," (5.1.0)",[516,613,614,615,617,618,623,624,307,627,328],{},"A comparator named ",[176,616,303],{},", implemented with ",[131,619,622],{"href":620,"rel":621},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@blazediff\u002Fcore",[522],"@blazediff\u002Fcore"," in this release; limits ",[176,625,626],{},"allowedMismatchedPixels",[176,628,629],{},"allowedMismatchedPixelRatio",[516,631,632],{},"Fails at once, without a diff",[498,634,635,643,646],{},[516,636,637,642],{},[131,638,641],{"href":639,"rel":640},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fcypress-visual-regression",[522],"cypress-visual-regression"," (6.0.1)",[516,644,645],{},"pixelmatch 7.2.0.",[516,647],{},[498,649,650,658,661],{},[516,651,652,657],{},[131,653,656],{"href":654,"rel":655},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fcypress-image-diff-js",[522],"cypress-image-diff-js"," (2.8.0)",[516,659,660],{},"pixelmatch ^5.1.0.",[516,662],{},[498,664,665,673,683],{},[516,666,667,672],{},[131,668,671],{"href":669,"rel":670},"https:\u002F\u002Fgithub.com\u002Fgarris\u002FBackstopJS",[522],"BackstopJS"," (6.3.25)",[516,674,675,676,539,679,682],{},"Resemble.js analysis through a Node fork (",[176,677,678],{},"@mirzazeyrek\u002Fnode-resemble-js",[176,680,681],{},"misMatchThreshold"," is a percentage, 0.1 by default.",[516,684,685,688],{},[176,686,687],{},"requireSameDimensions"," decides whether a size change fails",[498,690,691,699,702],{},[516,692,693,698],{},[131,694,697],{"href":695,"rel":696},"https:\u002F\u002Fgithub.com\u002Flost-pixel\u002Flost-pixel",[522],"lost-pixel"," (3.22.0)",[516,700,701],{},"pixelmatch 5.3.0 and odiff-bin 2.6.1 are both dependencies.",[516,703],{},[127,705,706,707,709],{},"Which pixelmatch release a tool bundles matters: releases up to 7.2.0 measure color in YIQ, 8.0.0 in OKLab. The same ",[176,708,201],{}," number is therefore not the same tolerance in pixsame or Playwright and in the tool on this site, and the counts in the examples above will not match those tools to the pixel. They show how the algorithm family behaves, not what a given tool reports.",[144,711,713],{"id":712},"other-approaches","Other approaches",[127,715,716],{},"These are not in the image diff tool, because they have no browser build or are not the same kind of algorithm. Everything here is from the projects' own documentation and metadata; the speed claims are theirs and were not measured for this page.",[718,719,720,734,750,759],"ul",{},[721,722,723,728,729,304,731,733],"li",{},[131,724,727],{"href":725,"rel":726},"https:\u002F\u002Fgithub.com\u002FdmtrKovalenko\u002Fodiff",[522],"odiff"," is a native comparator, written in Zig with SIMD optimizations (originally OCaml), with a Node binding and a server mode. It uses the YIQ NTSC color space and offers ",[176,730,201],{},[176,732,213],{}," and ignored regions. Its README says Argos uses it, and lost-pixel lists it as a dependency.",[721,735,736,741,742,745,746,749],{},[131,737,740],{"href":738,"rel":739},"https:\u002F\u002Fgithub.com\u002Fgemini-testing\u002Flooks-same",[522],"looks-same"," compares colors with CIEDE2000. Its default ",[176,743,744],{},"tolerance"," is 2.3, described as the just noticeable difference; it ignores anti-aliasing and the text caret by default, and ",[176,747,748],{},"strict: true"," turns the tolerance off.",[721,751,752,755,756,758],{},[131,753,622],{"href":620,"rel":754},[522]," describes itself as pixel-by-pixel comparison with block-based optimization, \"1.5x times faster than pixelmatch\". Vitest 5.1.0 uses it for its ",[176,757,303],{}," comparator.",[721,760,761,762,328],{},"Hosted services (Percy, Applitools, Chromatic and others) compare on their servers with their own algorithms; what they document is in the ",[131,763,489],{"href":53},[144,765,767],{"id":766},"how-the-examples-were-made","How the examples were made",[127,769,770,771,774,775,778,779,782,783,786],{},"The pages, the images and the numbers are generated by one script, ",[176,772,773],{},"apps\u002Fsite\u002Fscripts\u002Fmake-diff-examples.mjs",". It renders fixtures with Chromium, bundles the very Web Worker the image diff tool runs (decoding, padding, all five engines), runs it in Chromium on every pair, and writes the images to ",[176,776,777],{},"public\u002Fdiff-examples\u002F"," and the measurements to ",[176,780,781],{},"data\u002Fdiff-examples.json",". This page reads that file; there is no number on it that was typed by hand. Run ",[176,784,785],{},"pnpm --filter @visual-regression\u002Fsite diff-examples"," to reproduce them. The fixtures use the system fonts of the machine that renders them, so a rerun elsewhere can move the pixel counts by a few pixels and records another Chromium version; the orderings the prose relies on are asserted by the site's unit tests.",[127,788,789],{},"What the numbers are not:",[718,791,792,795,798,817,820],{},[721,793,794],{},"One fixture application (a dashboard, a checkout, a blog page and a settings page, all in Chromium) and eight changes made on purpose. Real suites have more variety.",[721,796,797],{},"Each algorithm at its library defaults, plus the few variants named above. Every one can be tuned, and a tuned algorithm can behave differently.",[721,799,800,801,804,805,808,809,812,813,816],{},"The versions in use: pixelmatch ",[802,803],"diff-engine-version",{"name":303},", resemblejs ",[802,806],{"name":807},"resemblejs"," and ssim.js ",[802,810],{"name":811},"ssim.js",", measured in ",[802,814],{"name":815},"browser",". The hash is this tool's own implementation of the pHash family and is not bit-identical with other libraries.",[721,818,819],{},"Timings are medians of five runs on one machine.",[721,821,822],{},"Pixel counts depend on the fonts of the machine that rendered the fixtures (see above).",[144,824,826],{"id":825},"try-it-yourself","Try it yourself",[127,828,829,830,832],{},"Open any example in the ",[131,831,134],{"href":133},", or drop two of your own screenshots: nothing is uploaded. Change an algorithm's options and watch the number move; that is the quickest way to find out what your own pages need.",{"title":834,"searchDepth":835,"depth":835,"links":836},"",2,[837,838,839,850,851,852,853,854],{"id":146,"depth":835,"text":147},{"id":164,"depth":835,"text":165},{"id":190,"depth":835,"text":191,"children":840},[841,843,844,845,846,847,848,849],{"id":224,"depth":842,"text":225},3,{"id":232,"depth":842,"text":233},{"id":239,"depth":842,"text":240},{"id":246,"depth":842,"text":247},{"id":253,"depth":842,"text":254},{"id":260,"depth":842,"text":261},{"id":267,"depth":842,"text":268},{"id":274,"depth":842,"text":275},{"id":281,"depth":835,"text":282},{"id":482,"depth":835,"text":483},{"id":712,"depth":835,"text":713},{"id":766,"depth":835,"text":767},{"id":825,"depth":835,"text":826},"Exact pixels, pixelmatch, Resemble.js, SSIM and a perceptual hash answer different questions. Pick by situation, compare them side by side, and see each one measured on the same example images.","md",null,{},{"icon":120},{"title":117,"description":855},"BeaCvVPg4xi4Ek6Qfn3vsmpG0DyVAYSqsG6uu7m2Vpk",[863,857],{"title":112,"path":113,"stem":114,"description":864,"icon":115,"children":-1},"Serve the viewer, write it to a folder, restyle it or replace the page, from the command line.",1795388678438]