Skip to main content

Compares two PDF files by appearance, not by content.

Project description

Compares two PDF files by appearance, not by content. It can be used in the command line, in order to use it inside bigger scripts.

Installation

It requires some libraries. In Debian or Ubuntu, you can install them by apt:

# apt-get install libpoppler-glib-dev python-gtk2

Then you can install it as usual:

$ pip install pdfcomparator

Usage

The format is the next one:

$ pdfcompare.py pattern current

It will compare the files under “pattern” and “current”.

If they are equal, it will print nothing. If they are different, it will print the first page that is different and the script will return 2.

Enjoy it!

## Status [<img src=”https://travis-ci.org/magmax/pdfcomparator.png”>](https://travis-ci.org/magmax/pdfcomparator#)

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page