I'm looking for a good program to show me the differences between two similar pdf files. In particular, I'm looking for something that doesn't just run diff on an ascii version (with "pdftotext") of the files. This is what pdfdiff.py does.
You can use DiffPDF for this. From the description:
I just figured out a hack to make DiffPDF (the program suggested by @qbi) usable for more than minor changes. What I do is concatenate all pages pdfs into a long scroll using pdfjam and then compare the scrolls. It works even when large sections are removed or inserted!
Here is a bash script that does the job:
If you have 2 huge pdf files to compare , then it is possible to combine the power of:
Below script accept as input any of the following file formats: MOBI, LIT, PRC, EPUB, ODT, HTML, CBR, CBZ, RTF, TXT, PDF and LRS.
If not installed, then install meld and calibre:
To be able to execute the code from anywhere in your computer, save following code in a file named "diffepub" (with no extensions) inside directory "/usr/local/bin".
Make sure the owner is your user and it has execution permissions:
To test it, just type:
I test it to compare 2 revisions of a +1600 pages pdf and it works perfect. Because calibre is written using python for portability, it took 15 minutes to convert both files to text. Slow, but reliable.