pdf-visual-diff
pdf-visual-diff copied to clipboard
Visual Regression Testing for PDFs in JavaScript
Fix for #71
My PDF looks like this: My PNG looks like this:  Using these deps: ``` make=4.4.1-r2 \ gcc=13.2.1_git20240309-r0 \ g++=13.2.1_git20240309-r0 \ python3=3.12.7-r0 \ pixman-dev=0.43.2-r0 \ cairo-dev=1.18.0-r0 \ pango-dev=1.52.2-r0 \ giflib-dev=5.2.2-r0...
Currently comparePdfToSnapshot returns true/false and we have to look at the generated heatmap diff to know how much they differed. If comparePdfToSnapShot could return the equivalent of tolerance [0..1] as...
We use `pdf-visual-diff` to test the correctness of our PDF files that contain barcodes inside of them. After updating from 0.12.0 to 0.14.0 I was happy to finally get rid...
## Background Original idea found in comment [here](https://github.com/moshensky/pdf-visual-diff/issues/80#issuecomment-2503121710). Always best to avoid phrasing things as an X/Y problem so going to expose the use case: we have sections of the...