Назад к Image
Подключите Knoon AI к Image (System), чтобы автоматизировать AI рабочие процессы.
Render a PDF attachment, crop one or more normalized page-ratio bounds, and save each crop as a PNG attachment.
systemImageCropPDFToPNGAttachmentsByRatio
Бета
Внутренний
Разрешения
Нет элементов для отображения.
Опциональные разрешения
Нет элементов для отображения.
Параметры
| Имя | Тип | Описание | Обязательно |
|---|---|---|---|
| content | attachment | PDF attachment to crop. | Да |
| bounds | mustache | JSON crop bounds, either one object or an array with up to 50 items. Page numbers are 1-based integers. x1Ratio/y1Ratio/x2Ratio/y2Ratio are normalized ratios from 0 to 1 against the rendered page for opposite crop corners. Reversed corner coordinates are accepted and normalized. Example: [{"page":1,"x1Ratio":0.1,"y1Ratio":0.2,"x2Ratio":0.45,"y2Ratio":0.32}]. | Да |
Возвраты
| Имя | Тип | Описание |
|---|---|---|
| items[] | string | PNG attachment. |








