Compress a PDF
compress_pdfReduce a PDF's file size by rebuilding it compactly and dropping unused objects and metadata, keeping text sharp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | A single input file, given as either an HTTPS url or base64 contents. | |
| strip_metadata | No | Remove title, author and producer metadata to save a little more space. | |
| output_filename | No | Name for the resulting file. |