Free plan
Ink coverage
Measure how much ink each page uses and estimate print cost
About this tool
This tool measures how much of each page is covered by cyan, magenta, yellow and black ink, the four inks used in printing. It tells you which pages are colour and which are black and white. You can set an ink limit to flag heavy pages, and give a price for colour and black-and-white pages to get a cost estimate. The cost is only an estimate.
For example, you check how expensive a print job will be before you send it to the printer.
How to use it
- Choose this tool.
- Add your PDF with Upload or drag and drop.
- Optionally choose the pages to measure.
- Type the price of a colour page and a black-and-white page, and an ink limit if you want one.
- Press Generate and read the result.
What you get back
You get a page-by-page report with the ink amounts, which pages are colour, and an estimated cost. You can copy it.
GOOD TO KNOW
Measured by Ghostscript on the page as it would print (RGB is converted to CMYK by its default rules). Counts as one PDF operation.
TEST IT LIVE
Try Ink coverage in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/ink-coverage
Tool ID
pdfs.ink-coverage
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/ink-coverage" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'pages=1-3' \
-F 'color_threshold=0.1' \
-F 'limit=0'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.inkCoverage({
"file": 'document.pdf',
"pages": "1-3",
"color_threshold": 0.1,
"limit": 0
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->inkCoverage([
'file' => 'document.pdf',
'pages' => '1-3',
'color_threshold' => 0.1,
'limit' => 0,
]);
echo $result->requestId;More in PDFs
