pdf_compress
Compress PDF — Reduce PDF file size while preserving readability. Quality presets: light (300 DPI), balanced (150 DPI, default), mobile (96 DPI), maximum (72 DPI). Also supports metadata-only stripping and a target-size mode. [category: pdf]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF to compress | |
| quality | No | How hard to squeeze. Light keeps print quality (300 DPI); balanced is the everyday choice (150 DPI); mobile (96 DPI) and maximum (72 DPI) trade sharpness for size. | balanced |
| targetSize | No | Squeeze until the file fits this size. Overrides the preset above. | |
| metadataOnly | No | Only strip the hidden details - author, title, producing software - and leave every page exactly as it is. |