tldr/pages/common/diff-pdf.md

17 lines
501 B
Markdown
Raw Normal View History

2022-01-27 14:33:10 +00:00
# diff-pdf
> Compare two PDFs.
2022-01-27 14:33:10 +00:00
> 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}}`