Flatten Transparencies

Flatten Transparencies

Flatten Transparencies is a REST API tool that renders and replaces all transparent objects in the PDF with opaque colors to increase RIP speed in a prepress workflow and support conversion to other file formats.

A bubbling flask with code brackets inside
Try Now with API Lab

Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!  

to receive your free API Key.
Required Parameters
curl -X POST "https://api.pdfrest.com/flattened-transparencies-pdf" \ 
  -H "Accept: application/json" \ 
  -H "Content-Type: multipart/form-data" \
  -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
Once you've sent your POST request and received a valid response, you can download your output file using the output URL.

Why use our version of Flatten Transparencies?

Unrivaled Color Management

  • pdfRest uses Adobe® PDF rendering and color engine technology to maintain precise color accuracy.
  • Trust only the best color management technology to preserve true colors through the transparency flattening process.

Maximum Compatibility

While transparent objects in PDF documents are supported generally by the PDF ISO 32000 specifications, transparencies are not universally compatible with every PDF conformance version, tool, process, and workflow.

When compatibility is key, pdfRest’s Flatten Transparencies reliably removes all transparent objects in a PDF to ensure smooth integration with downstream operations.

Print with Confidence

pdfRest is built with tried-and-true Adobe® technology that has supported enterprise print operations for decades. Flattening transparencies with pdfRest reliably optimized PDF documents for efficient, fast printing.
Start from Code Examples
  1. First, you'll need an API Key - to:
    • Stay anonymous with a Guest API Key for 10 free API Calls
    • Sign up for an upgraded API Key with unlimited, continuous service
  2. Choose your programming language
  3. Copy and paste the code to your project
  4. Update Api-Key field with your unique API Key
  5. Update file with the local path to your input
  6. Run this code to send an API Call
See more code examples in our
GitHub repository
Try pdfRest with just a few clicks
Download our Postman Postman Collection
curl -X POST "https://api.pdfrest.com/flattened-transparencies-pdf" \
  -H "Accept: application/json" \
  -H "Content-Type: multipart/form-data" \
  -H "Api-Key: xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  -F "file=@../Sample_Input/toFlatten.pdf" \
  -F "output=example_out" \
  -F "quality=medium"
Customize Your Solution
The quality parameter lets you adjust the resolution level to use when flattening transparent objects in your PDF. Low quality is ideal for proofs that will be printed on black-and-white desktop printers and for documents that will be published on the web. Medium quality is best for desktop proofs and documents that will be printed on color printers. High quality is ideal for final press outputs when high quality separations-based color proofs are needed.
Generate a self-service API Key now!

Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.

Compare Plans
Contact Us