Flatten transparency
Replaces transparent content with opaque content, for printers and archival formats that don't take transparency.
POST/forms/pdf/flatten-transparency
Form data
Options
No options.
curl \
--request POST http://localhost:3000/forms/pdf/flatten-transparency \
--form files=@report.pdf \
-o report.pdf
In a list of stages
The stage also runs in a list on /forms/pdf/pipe, and on the PDFs a Chromium or LibreOffice conversion makes, in its stages field:
curl \
--request POST http://localhost:3000/forms/pdf/pipe \
--form files=@report.pdf \
--form 'stages=[
{ "op": "flatten-transparency" }
]' \
-o report.pdf