docs: add targetSize parameter to image-to-pdf API docs

This commit is contained in:
SnapOtter
2026-04-27 22:39:57 +08:00
parent 490da4d14a
commit e6cb3ef91d
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ curl -X POST http://localhost:1349/api/v1/tools/<toolId>/batch \
| `strip-metadata` | Strip Metadata | - |
| `edit-metadata` | Edit Metadata | `title`, `description`, `author`, `copyright`, `keywords`, `gps` (lat/lon), `dateTime` |
| `bulk-rename` | Bulk Rename | `pattern` (supports `{n}`, `{date}`, `{original}`), `startIndex`, `padding` |
| `image-to-pdf` | Image to PDF | `pageSize` (A4/Letter/), `orientation`, `margin`, `fitMode` |
| `image-to-pdf` | Image to PDF | `pageSize` (A4/Letter/...), `orientation`, `margin`, `targetSize` ({value, unit}) |
| `favicon` | Favicon Generator | `padding`, `backgroundColor`, `borderRadius` - generates all standard sizes |
### Adjustments