This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Copyright (C) 2012-2017 by László Nagy | |
| Copyright (C) 2017 Paolo Bonzini | |
| This file is based on Bear. | |
| It is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # usage: diffpdf.sh file_1.pdf file_2.pdf | |
| # requirements: | |
| # - ImageMagick | |
| # - Poppler's pdftoppm and pdfinfo tools (works with 0.18.4 and 0.41.0, | |
| # fails with 0.42.0) | |
| # (could be replaced with Ghostscript if speed is | |
| # not important - see commented commands below) |