pdf-visual-diff icon indicating copy to clipboard operation
pdf-visual-diff copied to clipboard

Visual Regression Testing for PDFs in JavaScript

Results 16 pdf-visual-diff issues
Sort by recently updated
recently updated
newest added

Trying to add this into a pipeline process. I would like to add a step that creates and commits new snapshots as a discrete step to comparing snapshots. Is this...

It would be very helpful to be able to control the resolution of the PNGs that are rendered. As-is, it's not bad, but I may need to have much higher...

Bases on arguments mentioned in the [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot#recommendations-when-using-ssim-comparison) repo, it seems like [ssim.js](https://github.com/obartra/ssim) could be a better algorithm to use in some use cases. Just wanna check if there is any...

I think it would be fairly easy to update the code at https://github.com/moshensky/pdf-visual-diff/blob/master/src/compare-pdf-to-snapshot.ts#L37C8-L39C10 to something like this ```javascript if (type === 'rectangle-mask') { let mask = new Jimp(width, height, colorToNum[color])...

Right now multi page pdf will be converted to just one image. If pdf contains a lot of pages and created image snapshot become to big in size it might...

enhancement

should fix [CVE-2024-4367](https://nvd.nist.gov/vuln/detail/CVE-2024-4367)

https://github.com/moshensky/pdf-visual-diff/issues/61

## Background I started encountering this issue recently - I'm using PlayWright and Mailpit to perform a PDF diff against PDF files sent as email attachments. Will link relevant parts...