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.
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.
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.
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
Api-Keyfield with your unique API Key
filewith the local path to your input
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"
qualityparameter 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.