Skip to content

bureaupartners/pdf-ink-coverage-extractor

Repository files navigation

PDF Ink Coverage Extractor

Check & fix styling Run Psalm Run tests

A simple package for extracting the ink coverage in a PDF file

Installing / Getting started

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

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Links

Licensing

The code in this project is licensed under MIT license.