Rotate PDF pages
rotate_pdfPermanently rotate pages of a PDF clockwise by 90, 180 or 270 degrees. Useful for sideways or upside-down scans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | A single input file, given as either an HTTPS url or base64 contents. | |
| angle | Yes | Clockwise rotation to add: 90, 180 or 270 degrees. | |
| pages | No | Pages to rotate, for example "1, 4-6". Defaults to every page. | |
| output_filename | No | Name for the resulting file. |