Photo editing guides

Inspect the pixel changes in a harbor status card

·

When an updated screenshot looks almost identical to the previous version, a pixel diff measures how many pixels changed and shows where they are. The two harbor status panels contain an updated badge, a filled transparent corner and a subtle change to a footer accent.

Image Diff Tool

Check the two status panels

Select Load status panel example and Compare images with the default threshold of 24. The report shows 320 of 16000 pixels changed, or 2.00%, over a 160 × 100 area. The highlight identifies the 240-pixel status badge and the 80-pixel corner patch.

Move Difference threshold to zero and compare again. The count rises to 380 of 16000 pixels because the footer accent differs by three channel levels across a 60-pixel strip. Set the threshold to three and that strip falls within tolerance.

WHATWG HTML — Canvas pixel manipulation

Read the largest change

The maximum delta stays at 255 over both comparisons because the corner changes from fully clear to fully opaque. Select Compare on white and compare again. The maximum becomes 208 from the badge, where the red channel rises from 45 to 253.

Choose Heatmap under Difference visualization and compare once more. Orange identifies stronger changes, with smaller changes toward blue. Download diff PNG to save the map with clear pixels where the images are within tolerance.

WHATWG HTML — Premultiplied alpha in the 2D rendering contextW3C Portable Network Graphics specification

Check the compared resolution

For 1600 × 1000 and 800 × 500 exports of the same layout, automatic alignment scales the larger version to 800 × 500 before measuring. This helps when a screenshot was exported twice at different densities. Interpolation can introduce small color changes across edges.

With a 1600 × 1000 image and a 640 × 720 crop, the automatic setting checks the 640 × 720 area in the top-left corner. For a subject centered within two different canvases, select Centered with transparent padding to include all the edges. The result uses the full 1600 × 1000 area.

WHATWG HTML — Canvas pixel manipulation

Common questions

What does a zero threshold count?

Any measured difference greater than zero. The default transparency setting compares visible color over black and white and includes opacity itself.

Can two PNG files produce zero differences?

Yes. Files with different compression or metadata can decode to the same pixels. The comparison measures the raster that the browser decodes.

Sources

Put it into practice.

Related guides