comparepdf - compare two PDF files textually or visually
[OPTIONS] file1.pdf file2.pdf
is a command line application used to compare two PDF files.
The default comparison mode is text mode where the text of each corresponding
pair of pages is compared. As soon as a difference is detected the program
terminates with a message (unless -v0 is set) and an indicative return code.
The OPTIONS are -ct or --compare=text (the default) for text mode comparisons or
-ca or --compare=appearance for visual comparisons (useful if diagrams or
other images have changed), and -v=1 or --verbose=1 for reporting differences
(and saying nothing for matching files): use -v=0 for no reporting or -v=2 for
reporting both different and matching files.
For a GUI tool for showing the detailed differences between PDF files see
comparepdf was written by Mark Summerfield <firstname.lastname@example.org>.