Aug 31 2010

Diffpdf Windows version

Introduce

DiffPDF is used to compare two PDF files—textually or visually, is developed by Mark Summerfield, he said “In theory DiffPDF could be built on Windows, but I haven’t managed to do it, so no Windows executable is available. The problem is that I don’t know how to build the Poppler library on Windows (apparently it isn’t easy!).” and I did some effort to compile to on windows. As I know it works on Windows XP and Windows 7 (both 32-bit and 64-bit Windows).

DiffPDF can compare two PDF files. It offers two comparison modes: Text and Appearance.

By default the comparison is of the text on each pair of pages, but comparing the appearance of pages is also supported (for example, if a diagram is changed or if a paragraph is reformatted). It is also possible to compare particular pages or page ranges. For example, if there are two versions of a PDF file, one with pages 1-12 and the other with pages 1-13 because of an extra page having been added as page 4, they can be compared by specifying two page ranges, 1-12 for the first and 1-3, 5-13 for the second. This will make DiffPDF compare pages in the pairs (1, 1), (2, 2), (3, 3), (4, 5), (5, 6), and so on, to (12, 13).

A couple of example PDF files are provided (boson1.pdf and boson2.pdf) so that you can try it out. PDF files can be loaded from the GUI (by pressing the File #1 and File #2 buttons), or by specifying them on the command line. I use the tool regularly to compare different versions of my books (which are typically 500 or more pages), e.g., comparing a first printing with a second printing, to make sure that only the pages I intended to change have actually been changed.

DiffPDF is licensed under the GNU General Public License v 2 open source license. To build it you will need a modern C++ compiler, the Qt 4 libraries (at least Qt 4.4; 4.6 or later recommended), and the Poppler library—all these should be available as standard packages on most Linux and BSD systems. The source is diffpdf-1.8.0.tar.gz(40K). Building follows the standard pattern for Qt 4 applications and is explained in the README. Fedora, Debian, and Ubuntu users don’t have to build it manually, they can simply install the binary diffpdf package using their prefered package management tool—but make sure you get at least version 1.8.0!

Screen Shot

Awards

SOFTPEDIA "100% FREE" AWARD

Download

 

It is open source software, but any donation is welcome.

Change log

2.1.2

- Minor GUI bug fixes.
- Minor translation fixes.
- Updated copyright year.

2.1.1

- Tiny bug fix to make sure that the help file is in the right language.

2.1.0

- Dragging and and dropping files from Windows Explorer, Thunar, etc., now works (at least for me, on Windows 7 and Xubuntu).

- Updated Czech translation from Pavel Fric.

- French translation from Pierre-Alain Bandinelli.

- German translation (and many suggestions) from Rainer Krachten.

- Translations should “just work”; i.e., if you use a French locale then the user interface and help text should appear in French. However, you can force DiffPDF to use any language it supports by using the  –language command line option (e.g., –language=fr). If an  unsupported locale or –language option is used, DiffPDF will fall  back to English.

- Now support -h as a synonym for –help.

- Initial path defaults to home directory instead of DiffPDF’s installation directory.

- Improved the Options dialog’s layout.

- A subtle bugfix to the –words command line option.

- Fixed a crash: clicking to set a margin when there’re no PDFs loaded  now safely does nothing.

2.0.0

- Can now have comparisons exclude text that’s outside user-specified  margins. This feature was sponsored by a company that prefers to   remain anonymous.

- Save As can now save images as well as PDFs.

- Minor bug fixes and improvements.

- Command line help (–help) will no longer work on Windows. This is to  avoid a spurious console window appearing. I’ve put the output in the  online help though.

- Improved dock window handling so that docks can now be stacked on top of each other (useful for small screens).

1.9.2
- Added missing step to the README.

1.9.1
- Save As now preserves the aspect ratio. Bug reported by Rainer  Krachten.

1.9.0
- Added Czech translation provided by Pavel Fric.
- Will now use the default locale’s language for standard dialogs (e.g.,   for the file dialog).
- Dragging & dropping one or two files onto the filename line edits or onto the file viewer panels is now supported. Independently suggested by Liviu Andronic and Rory Gordon.
- Show Zones checkbox is always visible (it was only visible with –debug in earlier versions).
- DiffPDF now starts up with its initial comparison mode being whatever comparison mode was in force when it was shut down (or Words mode the  first time it is run).
- Improved About box with more version info + contributors.
- Added –help command line option.

1.8.0
- Introduced zoning: this can be slow in Characters mode but can provide better accuracy in text modes.

1.7.1
- Improved Character mode to be as liberal about hyphens as Words mode.

- Minor doc changes that I forgot for 1.7.0.

- Minor GUI bug fixes and changes.

- Minor under the hood efficiency improvements.

1.7.0
- Renamed Text mode to Words mode. This mode is best for alphabetic text   (e.g., English).

- Added Characters mode. This mode is best for logographic text (e.g.,   Chinese and Japanese). This was suggested by Paul Howarth.

1.6.3
- Very minor cosmetic changes.

1.6.2
- Save button is now only enabled if there are changes.

- An improved help window with slightly more information.

1.6.1

- Subtle bugfix that caused inaccurate highlight positioning in rare  cases.

1.6.0

- In addition to Appearance comparisons using highlighting, they can now
also some composition modes to help make subtle differences more
visible. (This was inspired by feedback by Florian Heiderich.)
- Can now control the square size for appearance comparisons. Using very
small squares can help reveal tiny Appearance differences.
- Can now control the fill opacity for highlighting.
- Extended zoom range from 20% to 800% (was 25% to 400%).

1.5.1

Quite a few false-positives have now been eliminated:
- All hyphens are treated the same now.
- Some weirdly-encoded open/close double-quotes are treated as normal
Unicode open/close double-quotes.
- Improved whitespace ignoring.

1.5.0

Added Save As action and dialog for saving the differences to a PDF file.

1.3.0

Added support for -a, –appearance, -t, –text command line options to
set the initial comparison mode.

1.2.3

Added a mention of comparepdf in the About box.

1.2.2
Tiny change in how command line arguments are handled. This should make things work with both English and non-English locales on Windows.
1.2.1
Minor improvement with focus control for Previous and Next buttons.
Acknowledged Steven Lee for building Windows binaries and Dirk Loss for building Mac OS X binaries in the About box.

1.2.0

Got rid of old text comparison mode.
Various small user interface improvements.
Fixed a subtle bug that meant the combine text highlighting setting
wasn’t saved and restored correctly.

Got rid of old text comparison mode.
Various small user interface improvements.
Fixed a subtle bug that meant the combine text highlighting setting wasn’t saved and restored correctly.

Mar 30, 2011 DiffPDF 1.1.5 released.

Nov 18, 2010, includes all depended library to the windows binary, thank Fallen Nerd for the comment.

Review

AZ Lynx,Found it here this morning. Now using it at work. One of my bosses sometimes forgets that he has sent us an updated file – sometimes with different filenames. Diffpdf made it simple to compare two 127 page documents and find that, yes, he did it again.

98 Comments

  • By Fallen Nerd, October 30, 2010 @ 10:40 pm

    Can’t run it on WindowsXP SP3:
    “This application has failed to start because libxml2.dll was not found.”

  • By Fallen Nerd, October 30, 2010 @ 11:17 pm

    Finally, run it !
    Missing dll’s are:
    libxml2.dll, iconv.dll, zlib1.dll,
    jpeg62.dll, libpng12.dll
    Links to download them can be found at: http://gnuwin32.sourceforge.net/packages.html

  • By admin, November 10, 2010 @ 11:08 pm

    Thanks for your comment, my negligence

  • By fefelix, February 8, 2011 @ 11:29 pm

    How can i compile poppler for windows?

  • By JC, February 19, 2011 @ 9:29 pm

    Thanks!

    The DiffPDF current version is 1.1.5.

    Any hope for it?

    Thanks in advance!

  • By admin, February 21, 2011 @ 1:02 am

    Seems no need to update the compiled binary. any way, thanks for your information.

    Slightly changed the .pro file to make it a tiny bit more helpful.
    Added a Help button and separated Help and About information.
    Updated the README for Mac users (thanks to Dirk Loss for the info).

  • By s.m, February 27, 2011 @ 8:55 pm

    Nifty utility. Thank u !!

  • By Hans, April 3, 2011 @ 6:03 pm

    Can this tool print the changes or the changed pages, too?

  • By Joe, April 9, 2011 @ 2:21 am

    Yes, the ability to print the output of this utility would be indispensable. As it is now, it is kind of a neat tool, but not very useful. It REALLY needs a way to be able to print the output for filing or for others to use.

  • By Speci, April 14, 2011 @ 1:52 pm

    Hi,

    Diffpdf is a great tool! We have a special use case with hundrets of people who could need this tool every day. Unfortunately, the PDF file we need to compare take many minutes to load in Diffpdf (although they have just a couple of pages) what makes it useless. Do you have any idea why loading of these files takes so long? I could send you some files for analysing…

    Regards
    Speci

  • By Jerry B, April 19, 2011 @ 6:13 pm

    Hi

    I just used your App for comparing two 52 page PDF files and got excellent results.

    I do have one suggestion. In the controls section it would be helpful to have two command buttons in addition to the pages drop-down combo box. These buttons I propose to be “Next” and “Previous”. “Next” would give the next comparison file page and “Previous” the previous comparison file page. Going through 52 pages by using the combo box is really tedious. I would not get rid of the combo box as it is needed for access to a single compare file page. I have done this in a couple of applications.

    Once again, the program is great.

    Jerry B

  • By Jerry B, April 20, 2011 @ 10:21 pm

    Hi Mark,

    Thanks for accepting my suggestion. I just tried it out and it works great.

    Jerry B

  • By Make, May 21, 2011 @ 1:00 am

    This version has following 2 issues.
    1.Not able to find the font is “Bold” or not
    2.Not able to find the space issue after the word.
    Can you please fix those?
    Thanks
    Make

  • By admin, May 24, 2011 @ 12:15 am

    has forwarded the message to the developer, thanks for your report.

  • By Oisín, June 15, 2011 @ 11:55 pm

    Hi,

    Brilliant, this is going to be really useful when submitting or receiving revised documents.
    Would it be possible to have the diff computed on a whole-document rather than page-by-page basis though?
    As it is, if document B is the same as document A, except there is one extra page added near the start of document B, then all the text after that will appear to differ, even though it’s identical, just on different pages.

  • By Make, June 16, 2011 @ 12:44 pm

    Can you please let me know when can i expect the next release of this tool?

    Thanks
    Make

  • By Rob P, June 21, 2011 @ 5:05 am

    Excellent utility.

    A couple of enhancement suggestions that would help my use cases are when running from the command line to have;
    (1) an option to set Appearance comparison
    (2) an option to write a summary text files with the names of the files compared, with the summary result “Files differ on XX pages (YY pages were compared).” to a file, and to not start the GUI.

    Item (2) is for the use case where I have a lot of PDF’s to compare (~50), and most of these will be exactly the same (~45) and only a small number are different (~5).

  • By admin, June 21, 2011 @ 6:54 am

    sure, and Diffpdf 1.2.2 is ready.

  • By Make, June 21, 2011 @ 8:16 am

    Thanks for the updated version.but still this version has these 2 issues.I have posted earlier this issue.
    1.Not able to find the font is “Bold” or not in the original and compared PDF
    2.Not able to find the space issue after the word.It should highlight the word has extra space.
    It would be really helpful if you fix these issues.
    Thanks a lot.

    regards
    Make

  • By Mark Summerfield, June 21, 2011 @ 4:54 pm

    I’m the author of DiffPDF.

    Regarding the suggestions made above:

    (1) “Joe”: I’d consider adding printing, but what would be required?
    Print all differences (i.e., as 2 pages scaled to fit side-by-side)?
    (2) “Speci”: By all means send me one or two samples that load slowly
    for you.
    (3) “Make”: What you are asking for isn’t possible.
    (4) “Oisín”: If you have a document that only differs in one or a few
    pages you can use page ranges to include/exclude pages from the
    comparison.
    (5) “Rob P”: I’m planning to add a command line option to give the
    choice of appearance or text comparison. I am not planning a non-GUI
    version.

    Please reply to me directly (my email’s on my web site http://www.qtrac.eu)
    since I don’t often read the blog.

  • By admin, June 21, 2011 @ 5:17 pm

    Thanks for Mark’s reply

  • By doortokaos, June 27, 2011 @ 4:55 pm

    Thanks a lot for the windows build.

  • By AlasdairCM, June 27, 2011 @ 10:42 pm

    I have tried to download this, and tried to run it, but my Kaspersky antivirus says that it has
    Hoax.Win32.ArchSMS.ikox
    inside the .exe and won’t let me use it.

  • By admin, June 27, 2011 @ 10:59 pm

    the current version is packed with the last upx, please try the unpacked version http://soft.rubypdf.com/download/diffpdf/diffpdf-1.2.2-windows-unpack.zip, and let me know if you still get the same issue. btw, you are the first one who report this issue.

  • By David Luu, July 12, 2011 @ 8:25 am

    Thanks for compiling the Windows version. I was wondering if diffpdf, whether on Windows or other platforms, has a command line (CLI) counterpart? A CLI version would be useful for scripting and automation of diffs of PDFs (for testing or batch jobs).

  • By admin, July 12, 2011 @ 10:33 am

    will support CLI in next release

  • By David Luu, July 16, 2011 @ 10:44 am

    Good to know, what’s the roadmap/timeline for next release?

  • By David Luu, July 18, 2011 @ 2:13 pm

    Just wanted to mention that I found another tool that works similar and has a command line interface (CLI) already. Those who use this tool might want to check out the other as well, which has a Windows executable too. https://github.com/vslavik/diff-pdf, would be ideal to have a tool that merges the best of both tools (that and this).

  • By admin, July 18, 2011 @ 3:00 pm

    I noticed it before, but the user has not update the source code for a long while. how about it?

  • By Marjorie, July 19, 2011 @ 9:17 pm

    Hello,
    I noticed problems when comparing pdf with not exactely the same format (for example if the last line of a page in one document is at the first line on next page in the other document).
    Have somebody noticed the same problem? Do you know a software that doesn’t have that problem?
    Thank’s

  • By Kurt, August 9, 2011 @ 3:48 am

    Is it possible to define an origin point within DiffPDF? I am seeing cases where the PDF’s are completely highlighted due to one is shifted ever so slightly compared to the other.

  • By Jennifer, September 9, 2011 @ 12:56 am

    So far I’m pretty pleased with DiffPDF. The program is simple, clean and very user friendly, and there are no features lacking. (Of course it is not as deluxe as Adobe’s own tool, but in its own way that’s a plus!) My only complaint would be the false positives that it registered, but these weren’t serious, usually amounting to the wrongful highlight of a single word. I was impressed by the good design and the ease of use.

  • By admin, September 9, 2011 @ 1:25 am

    thanks for your comment, and sorry for my poor English, could you explain more about “My only complaint would be the false positives that it registered”, thanks in advance.

  • By Liz, September 21, 2011 @ 4:17 am

    Thank you so much for this amazing tool. My life just got soooooo much easier!

  • By Jery, September 26, 2011 @ 6:54 am

    Is the source available for the Win version? Can’t get the tar.gz to uncompress. Getting invalid archive directory. Suggestions?

  • By admin, September 26, 2011 @ 10:57 am

    I use 7zip to open it, fine, tar also works fine.

  • By Jerry, September 26, 2011 @ 6:54 pm

    Thanks, 7zip did the trick.

  • By Dave, October 3, 2011 @ 3:54 am

    I just found and used the Win32 1.2.2 build. Thank you! I needed to inspect two versions of a 40-page publication proof to verify that they differed by just one word, and DiffPDF confirmed that change in less than four seconds. Fantastic!

  • By C. L., October 12, 2011 @ 10:43 pm

    I have trouble using the poppler library for Qt4 from here:
    http://people.freedesktop.org/~aacid/docs/qt4/

    Could you provide a download including poppler files so that the directory structure is there for Windows?

    Thanks!

  • By Thinker, October 13, 2011 @ 11:43 am

    May I suggest the command option of having the software start with “Appearance” mode and difference displayed? Thanks for the great tool.

    Can you also include the binaries of the dependent libraries?

  • By Brian, October 16, 2011 @ 5:33 am

    Unfortunately, only works on single pages. Would like to see a Longest Common Subsequence implementation that works on the entire document. Not very useful otherwise.

  • By admin, October 16, 2011 @ 9:28 am

    it works on entire document, please check it again.

  • By admin, October 16, 2011 @ 9:32 am

    Mark develops it and I compile it, Now I have no time to develop it. and it does not depends any third party library, do you mean the dependent library to compile diffpdf

  • By admin, October 16, 2011 @ 9:34 am

    ok, I will provide it later.

  • By Andi, November 7, 2011 @ 5:21 pm

    Many thanks to Mark Summerfield and Steven Lee for providing this great software to compare pdf-files. Easy to use and it saved me a lot of time. Thank you again and keep up the great work!

  • By Carl, November 18, 2011 @ 1:28 am

    First of all thanks for providing such a good program.
    I am trying to compile it in windows but I am having trouble.
    I get the following error: “fatal error LNK1181: cannot open input file ‘poppler-qt4.lib’”.
    I am compiling poppler using Cygwin but the poppler-qt4.lib file is not being generated.
    Do you have any tips?
    Thanks in advance for your help.
    Carl

  • By Tony Hynes, November 19, 2011 @ 8:11 pm

    Hello,

    Just checked the windows and version and this software is excellent.

    Only one issue, there is no option to save the output, yet I have seen on other screen shots of the software that it is provided?

    Had these been removed?

  • By Bernhard, November 21, 2011 @ 4:19 pm

    Santa Clause is really early this year.

    I am looking forward to check v1.5 on Windows.

    Any idea when it is available?

  • By admin, November 22, 2011 @ 3:10 am

    It is ready now.

  • By Bernhard, November 22, 2011 @ 4:08 pm

    That was quick.

  • By Philippe, November 22, 2011 @ 4:34 pm

    Thanks to Mark and yourself for both the update and the compilation!

  • By Philippe, November 22, 2011 @ 4:48 pm

    Hi,
    I am not happy with the way the PDF files are saved. When printing a landscape page, it is stretched in the diff output.
    To stop bothering Mark (the author) I’d like to be able to modify and compile the code myself, then propose a patch.

    To ease this process, could you share a little word about the efforts you put in compiling the program on windows ?
    What compiler / dependencies are required ?
    Did you have to adapt some code ?

  • By Rich, November 27, 2011 @ 12:33 pm

    Very useful. Have installed it on OS X. Can you please make a 64-bit Windows executable version available? Thanks

  • By admin, November 29, 2011 @ 1:38 am

    the win32 version also supports 64-bit windows, If necessary, I will compile it.

  • By admin, November 29, 2011 @ 1:42 am

    If you want to compile windows version by yourself, please try http://mingw-cross-env.nongnu.org/ , I did not modify source code, but mini modification on diffpdf.pro to easily create make file.

  • By jayasree, November 29, 2011 @ 2:22 pm

    How to find the same pharases and identical quotes presents in two differents pdf?

  • By Will, December 2, 2011 @ 12:45 am

    This looks like exactly what I need; but I need to call this functionality from an existing .Net application. Does Diffpdf support an API for file comparison?

  • By paul howarth, December 5, 2011 @ 12:51 pm

    I have installed on Windows 7 and it is working well. I am comparing Japanese documents, and you will be pleased to hear that even these display and compare reliably.

    However, character-by-character difference highlighting would be very useful to me. The current ‘text’ comparison seems to assume that everything between two spaces, or an end-of-line (plus other stuff perhaps) is part of the same word, and highlights the entire word when a single mistake is found. The problem is that Japanese usually does not have spaces between words. This usually results in the entire line after a difference being highlighted.

    Sometimes, the ‘appearance’ comparison option can help, but as I am doing translation work, I am mostly interested in the text, and the ‘appearance’ option can highlight a lot of things that I don’t need.

    Any chance of getting this change?

  • By paul howarth, December 5, 2011 @ 2:17 pm

    Oops. Minor typo in my previous message which could cause confusion. “when a single mistake is found” should read “when a single difference is found”..

  • By Geoffrey Coan, December 18, 2011 @ 8:19 am

    An excellent program, really quick and the view on screen is perfect.
    Now for the bad news. When comparing two quite large documents (196 and 210 pages) that are different revisions of the same document I found that after 30 pages or so the comparison was completely screwed up and every single page thereafter was marked as a change.
    It looks like the comparison was just made of p30 to p30/p31 and if the matching text is on the bottom of p31 and spreading onto p32 then it gets confused.
    Is it possible to configure or change the “window” by which the comparison is made?

  • By Guest, January 7, 2012 @ 4:19 am

    At work, we make per-location changes to PDFs, and this tool is perfect to figure out which locations can share the same PDF in production. One thing I noticed that could use improving is to remember the last folder per side. For example, I might view the following PDFs:

    …/Territory 35/Brochure 1.pdf (on the left)
    …/Territory 67/Brochure 1.pdf (on the right)

    After determining these are the same, I move on to the next PDF for comparison. I click on “File #1…”, select “Brochure 2.pdf” in the dialog, then do the same for the other side. Once I click “Open” on the second side, I get a “cannot compare file to itself” error. Confused, I click on “File #1…” again, and notice I’m in the Territory 67 folder, not the Territory 35 folder as I originally was. It only remembered the location from the last time the open dialog popped up period, instead of remembering the location from the last time I selected a file for that side like I had expected.

    I would greatly appreciate it if you could add a checkbox to the Options dialog that read something to the effect of “Remember folder per side” that determines if it remembers one last folder overall (1 total) or one per side (2 total) and is checked by default. In most cases this would be checked, but if e.g. you had to select sequential folders (001, 002, 003, etc.), the end user would uncheck this box so as not to alternate sides.

  • By admin, January 7, 2012 @ 5:35 am

    Please have a look command line usage,maybe it can simplify your jobs.

    Although DiffPDF is a GUI program, if run from a console with two PDF files listed on the command line, DiffPDF will start up and immediately compare them in Words mode, or in Appearance mode if their names are preceded with -a or –appearance on the command line, or in Characters mode if their names are preceded with -c or –character on the command line.
    If you’re specifically looking for a command line PDF comparison tool, e.g., for automated testing, try comparepdf.
    There are also debugging options. Use –debug to be able to see the zones. Use –debug2 and –debug3 to write the texts in the order they are fed to the sequence matcher into temporary files (e.g., /tmp/page1.txt, etc.). The text reordering is done by the TextItems::columnZoneYxOrder() method in the textitem.cpp file: suggestions for improvement are welcome! (Note that when using –debug3 coordinates are output in y, x order.)

  • By Guest, January 10, 2012 @ 6:09 am

    I apologize, I should’ve been clearer when I wrote that. I only need to check each PDF once unless there are changes, in which case I view the changes and try to match it up to an existing PDF. Although it might be possible to automate the process, there’s really no reason to considering we’re not a big company and prefer “late and perfect” over “on-time and nonfunctional”. If I’m comparing two PDF’s and notice the difference between newly checked and pre-existing is, for example, Washington over Colorado respectively, I know to check Washington-based locations for a match and ignore the rest. Other times it’s legal terminology like “civil union” that I know is only used in certain areas, so I ignore everywhere else. It doesn’t really make sense to check one PDF with every other variant if you know after checking against one that the vast majority of them aren’t going to match anyways, hence why it’d be nice to remember directories per side.

    Just so you know, working with PDFs like this is something I only have to do every once in a while, as it’s only when they apply to multiple locations that I need to compare them against each other. Usually we only update one location at a time, or the update applies to a universal document.

  • By Photon, January 18, 2012 @ 8:28 pm

    I closed the window with the zoning controls – how can I get it back? Any chance to have a full screen view of only one of the files instead the two-pane view in a future version? (Nice tool, anyway)

  • By Clay, February 2, 2012 @ 2:16 am

    First off, thanks for a really great program. I wanted to point out that (on the Vista and XP machine I tested on) the buttons and controls were only accessible by the accelerator shortcut keys, not by the mouse. (For instance, clicking on File#1 highlights the button but doesn’t cause the file open dialog to pop up, but pressing ALT-1 does.) I was using the 1.8.0 Win32 static zip version. Thanks again!!!

  • By Neil, February 4, 2012 @ 2:35 am

    Hi Mark, and thanks for this great tool. I had a suggestion for Command Line usage that I thought would be a nice (and relatively simple — I think!) addition. Rather than automatically opening the compare, it would be nice if you could just save the compare into a specified directory with a specified name. This would be very useful for automation purposes.

  • By Aditya, February 16, 2012 @ 4:37 am

    Hi Mark,thanks for providing such a great tool.
    I agree with Neil(see above comment), even my requirement is similar to his.If the path of the result file is also passed in the command-line with the files to be compared, it will really ease the process of saving the results.

  • By Sanjay, February 29, 2012 @ 2:47 pm

    Hi There,
    This is a fantastic tool and I have been using it for a couple of days. I was wondering if there is a way to change the resolution of the PDF file that is saved by the program (i.e. the PDF file the shows the side by side comparison). Currently the resolution output makes it difficult to read the file produced.

  • By Japes, May 10, 2012 @ 8:36 pm

    Hello,
    Good product, but some strange behaviour.
    Version 1.9.2-win32 on WXP Pro/SP3 – whenever DiffPDF is launched, the cursor blink rate increases to max in various other programs, incl. all word processors, text editors, IE.
    Any explanation and/or known cures?

  • By Japes, May 11, 2012 @ 6:07 pm

    **UPDATE**
    Having done some research, it seems the cursor blink rate problem is a known bug in some programs built in Qt when used in Windows.
    See:
    https://bugs.kde.org/show_bug.cgi?id=279882
    https://bugs.kde.org/show_bug.cgi?id=299079

    At least this suggests it’s not indicative of anything more serious.

    Hope this helps.

  • By admin, May 15, 2012 @ 5:10 pm

    Thanks for your message.

  • By Robert, May 17, 2012 @ 4:57 am

    I have been unable to get this to work on Server 2008 R2 with Citrix running on it. I feel like the issue is a Font issue; however, I can get it to run on about any other build that I have available to me (WinXp, Win7, Win2k3, Win2k8r2 without Citrix). Any hints as to what I can do to fix this? The error that I get is:
    Assertion Failed! File: GlobalParamsWin.cc Line: 286 Expression: dfp
    In looking it up this appears to be an issue with Poppler in the font handling.

  • By Ivars, May 24, 2012 @ 3:45 pm

    Version avaliable on http://www.qtrac.eu/diffpdf.html was infested wis password thief. :)
    Maybe check that out.

  • By Robert, May 31, 2012 @ 2:05 am

    We’ve determined that the problem is installing Remote Desktop Services. Installing this on a functioning Win2k8 R2 server immediately broke the application.
    Any ideas on a fix?

  • By admin, June 4, 2012 @ 11:13 am

    Which anti-virus software you use? the whole project was compiled under Linux, and it was the first report that DiffPDF is unsafe.

  • By Mark Summerfield, June 5, 2012 @ 3:33 pm

    I’m the author of DiffPDF.

    Here are some replies to various comments:

    (1) A couple of people asked about being able to print differences: This was added in version 1.5.0.

    (2) Whole document comparisons (that coped with page-spanning changes) is on my TODO list. However, it would require a *lot* of work, so probably won’t get done unless I get sponsorship for the time to do it.

    (3) I have a command line tool called comparepdf http://www.qtrac.eu/comparepdf.html that might be useful for automated testing. This does not support saving a differences file (although it is on the TODO list).

    (4) DiffPDF 2.1 supports various command line options (see the online help).

    (5) There is no externally supported API (e.g., for automating DiffPDF); however adding support for scripting is on my TODO list (but unlikely to be done in the forseeable future).

    (6) If you close one of the toolbar windows (e.g., zoning), just right-click a splitter border to pop up a menu of windows and click the one you want restored.

    (7) DiffPDF now only changes the blink rate on Mac OS X, so it should respect whatever setting you have on Windows.

    (8) The comment that the diffpdf.html page had a virus is false. I write my web pages by hand. Just look at the page source.

    Note that if you find bugs you can always send me the PDFs that show up the bugs (or if the files are too big put them in dropbox or give me an ftp site to get them from) so that I can test them.

  • By Sivakumar, June 18, 2012 @ 6:26 pm

    Word mode and Character mode is not working for the PDF which I am comparing but the same modes are working for the example PDF (boson1 & boson2) which I have downloaded from this website. Please help to resolve this issue.

  • By Joe Brown, July 5, 2012 @ 12:45 am

    What a simply great tool!
    Ran 1st time and saved my bacon, despite my awful version control regime.
    Many thanks.
    Joe.

  • By karthik, September 1, 2012 @ 3:09 am

    I am not getting the actions interface under controls , even if i right click on the top right corner of the Diff Pdf and see the actions is disabled and there is no tick mark in it. can u pls help me out

  • By Bhupendra, September 13, 2012 @ 7:11 pm

    Hi
    Greeting !

    Could you please provide the complete steps to set up the Diffpdf tool in Window 7 (64 bit).

    And is there any video link for better understanding.

    Thanks & Regards
    Bhupendra

  • By admin, September 13, 2012 @ 9:52 pm

    just unzip and run diffpdf.exe

  • By bert, September 25, 2012 @ 8:09 am

    hey man
    good program. Thanks.

  • By hu, October 8, 2012 @ 10:40 am

    thanks for your contributions.I’m a student ,if possible,I want the source code.

  • By RKA, October 14, 2012 @ 7:34 am

    Wonderful tool. Just ran into a small vexing anomaly. When comparing a 16-page file with a 19-page file, I set the range of the larger file as follows: (1-6, 9-12, 14-19). The Compare worked great, as expected. However, when I proceeded to “Save As”, it forgot one of the page skips. Hitting the “Compare” button again didn’t help – actually it seemed to confuse it even more.

    I can’t send the files (my tax files :-) , but I could try and create some dummy files to send if necessary.

    Is this a known issue, or am I doing something dumb, or are you also scratching your head like I am ?

    Regards

    -RKA

  • By Roman, October 24, 2012 @ 2:43 am

    Perfect! Exactly what i was searching for – works very well for me! Thanks a lot.

  • By Makesh, October 24, 2012 @ 12:39 pm

    Is it possible to compare the font style,font name and font size of each text between 2 pdfs.

  • By Jason, November 29, 2012 @ 4:03 am

    neat program! My suggestions for improvement:

    - It would help if the page-up / page-down / home / end keys could be used to navigate through the documents.

    - Also a “goto page” box (like in Acrobat reader) would also speed up navigating through pages.

    - This works very well with documents that have 1:1 correspondence for all pages. Once there are insertions/deletions it doesn’t work as well; I don’t expect automatic matching, but it would be helpful if I could manually match pages so that, for example, pgs 20-41 of document 1 could match up with pgs 23-44 of document 2.

  • By Jean-Pierre Bélanger, January 10, 2013 @ 11:35 pm

    Please confirm me that diffpdf and comparepdf will detect all differences.

    With comparepdf, I need to make sure that a recently auto-generated PDF files is bitwise identical with a reference file, except for meta-data information. Then, if a difference is detected, I will use diffpdf to assess any rendering difference using appearance compare (pixelwise). If I see no difference I will consider the latest pdf file as being the new reference file for future compare.

    Do I have the perfect tools for this situation ?

  • By shelly, January 23, 2013 @ 8:25 pm

    The anti-malware software told me that the file contained malwares!!
    it said that the malware is called: win32.Malware.Generic.a.(kcloud)
    after I try to run this one”Win32 static version, DiffPDF-2.1.1-win32-static.zip(5.9M)”…Many people appreciate this software so I don’t think this one has malwares; however, I still want to tell you as I wanna know why. Anyway,Thank you for your software!

  • By admin, January 28, 2013 @ 9:55 am

    what is the name of the anti-malware software you use? this software has been released on portableapp.com too. it is clean. maybe sometimes upxed software can be wrong reported.

  • By stever, February 15, 2013 @ 8:25 am

    I compare 11×17″ graphic designs. This tool is excellent for finding changes. Thanks!

    - Is it possible to print the difference results at a higher resolution? The details are illegible right now when I zoom in. I use PDFs, but checked and TIFFs are printing at the same low resolution.

    - My 11×17 designs are always in landscape format but the 2-page difference results are printed side-by-side on a landscape-format page. If the input is landscape format, can the output differences be printed top-bottom on a portrait page for a better fit.

  • By Rinki, February 21, 2013 @ 2:40 pm

    There shlould be a one-sided zoom available for both sides instead of zoom for both sides in DiffPDF.

  • By DustinM, April 3, 2013 @ 9:27 pm

    Please consider adding in the ability to compare different pages of .pdf’s and not just page 1 – 1, 2 – 2. I mean like page 2 – 3 or page 5 – 7. If this is already in there I haven’t found it yet and so my apologies if it is.

  • By tevez, May 11, 2013 @ 9:50 am

    In reply to Sanjay, February 29, 2012 and to stever, February 15, 2013 :

    Q: Is it possible to print the difference results at a higher resolution?
    A: Yes, You have to increase the zoom value before the ‘Save As’ command. It will determines the scale at which the pages are shown (and saved).

Other Links to this Post

  1. DiffPDF – PDF 文档对比软件 - 小众软件 — November 8, 2011 @ 5:29 pm

  2. Freeware: DiffPDF Computertaal — December 3, 2012 @ 8:48 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment