PHP code example of bureaupartners / pdf-ink-coverage-extractor

1. Go to this page and download the library: Download bureaupartners/pdf-ink-coverage-extractor library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bureaupartners / pdf-ink-coverage-extractor example snippets


use BureauPartners\InkCoverageExtractor\InkCoverageExtractor;

$ink_coverage = new InkCoverageExtractor('Document.pdf');
$ink_coverage->getCoverage(); // Returns all pages with ink coverage