flatten_pdf
Flatten a PDF by converting forms, annotations, and layers into static content. Provide the local file path, and optionally set the output directory and file name.
Instructions
Flatten a PDF file with the PDF4me API: forms, annotations, and layers become static content. Provide the local file path to the PDF. Optionally specify an output directory and output file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the PDF file to flatten. | |
| output_dir | No | ||
| output_file_name | No |