Pixel Diff
- Get ImageMagick cli tool
- Windows:
choco install imagemagick
- Convert every pdf page to a rastrized image, use different directories
magick convert inputA.pdf output%d.png
magick convert inputB.pdf output%d.png
- Use winmerge to compare the output
Text Diff
Get pdftotxt
http://www.xpdfreader.com/download.html
create inputA.txt file
xpdf-tools-win-4.03\bin64\pdftotext.exe .\inputA.pdf
create inputB.txt file
xpdf-tools-win-4.03\bin64\pdftotext.exe .\inputB.pdf
Use winmerge to compare the output
Kommentare