A simple package for extracting the ink coverage in a PDF file
First add bureaupartners/pdf-ink-coverage-extractor to your composer.json
composer require bureaupartners/pdf-ink-coverage-extractor
Then add the following code to your project
use BureauPartners\InkCoverageExtractor\InkCoverageExtractor;
$ink_coverage = new InkCoverageExtractor('Document.pdf');
$ink_coverage->getCoverage(); // Returns all pages with ink coverage
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
- Repository: https://github.com/bureaupartners/pdf-ink-coverage-extractor
- Issue tracker: https://github.com/bureaupartners/pdf-ink-coverage-extractor/issues
The code in this project is licensed under MIT license.