Kembali ke Image
Sambungkan Knoon AI dengan Image (System) untuk mengotomatisasi alur kerja AI.
Render a PDF attachment, crop one or more page bounds, and save each crop as a PNG attachment.
systemImageCropPDFToPNGAttachments
Beta
Internal
Izin
Tidak ada item untuk ditampilkan.
Izin opsional
Tidak ada item untuk ditampilkan.
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| content | attachment | PDF attachment to crop. | Ya |
| bounds | mustache | JSON crop bounds, either one object or an array with up to 50 items. Page numbers are 1-based integers. x1/y1/x2/y2 are rendered PNG pixel integers for opposite crop corners. Reversed corner coordinates are accepted and normalized. Example: [{"page":1,"x1":0,"y1":0,"x2":300,"y2":200}]. | Ya |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| items[] | string | PNG attachment. |








