repair_pdf
Repair corrupted PDF files by reloading and re-saving them to restore usability.
Instructions
Repair a corrupted PDF by reloading and re-saving with pdf-lib.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| output_name | No | Output file path (defaults to same dir with suffix) |