Home > Software > Office > Pdf > diff-pdf

diff-pdf logo

Details

Package ID
diff-pdf
Version
0.5.3
Downloads
7457
Website
https://vslavik.github.io/diff-pdf/

Summary

diff-pdf is a command line tool for visually comparing two PDFs.

Description

diff-pdf is a tool for visually comparing two PDFs.

It takes two PDF files as arguments. By default, its only output is its return code, which is 0 if there are no differences and 1 if the two PDFs differ. If given the --output-diff option, it produces a PDF file with visually highlighted differences:

$ diff-pdf --output-diff=diff.pdf a.pdf b.pdf

Another option is to compare the two files visually in a simple GUI, using the --view argument:

$ diff-pdf --view a.pdf b.pdf

This opens a window that lets you view the files’ pages and zoom in on details. It is also possible to shift the two pages relatively to each other using Ctrl-arrows (Cmd-arrows on MacOS). This is useful for identifying translation-only differences.

See the output of $ diff-pdf --help for complete list of options.

Comments

Loading comments...