bureaupartners/pdf-ink-coverage-extractor

Composer package to extract ink coverage in PDF file

1.0.0 2021-09-03 13:13 UTC

This package is auto-updated.

Last update: 2024-03-29 04:05:51 UTC


README

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.