tldr/pages/common/diff-pdf.md

17 lines
512 B
Markdown
Raw Permalink Normal View History

2022-01-27 14:33:10 +00:00
# diff-pdf
> Tool for comparing two PDFs.
> More information: <https://github.com/vslavik/diff-pdf>.
- Compare PDFs, indicating changes using return codes (`0` = no difference, `1` = PDFs differ):
`diff-pdf {{path/to/a.pdf}} {{path/to/b.pdf}}`
- Compare PDFs, outputting a PDF with visually highlighted differences:
`diff-pdf --output-diff={{path/to/diff.pdf}} {{path/to/a.pdf}} {{path/to/b.pdf}}`
- Compare PDFs, viewing differences in a simple GUI:
`diff-pdf --view {{path/to/a.pdf}} {{path/to/b.pdf}}`