AntidetectBrowser
Frequently asked questions

How do I compare the pixels of two Canvas PNGs in AntidetectBrowser?

Decode both PNGs into RGBA pixels at their original dimensions. Compare red, green, blue, and alpha at each position. PNG compression and metadata can differ even if the decoded image is identical, so file hashes can differ too.

  1. Open the AntidetectBrowser profile you want to test and export two images from the same test canvas. Keep the original PNGs and record the canvas size and test conditions.
  2. Use the same image decoder for both PNGs. If the dimensions differ, check the canvas size on the test page before comparing. Resizing introduces new pixel values.
  3. Compare all four channels at every coordinate. Record the number of different pixels and the first position that differs. The decoded images match pixel for pixel only when all four channels match at every position.

To compare two export methods for the same drawing, run both exports from the same canvas in the same profile. Keeping the input fixed helps trace any differences back to the export step.