Bild-Tools
Product Flyer Splitter
product-flyer-splitter
Use Product Flyer Splitter through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · HeadlessI · Interactive
Schnellzugriff
Eingabedateien 1Ausgabedateien 1–96
Eingabe
Zulässige Eingabeformate und Dateianzahl für dieses Tool.
| Eingabetyp | file |
|---|---|
| Dateianzahl | 1 – 1 |
| Zulässige MIME-Typen | image/jpeg, image/png, image/webp |
Parameter
Diese Werte über request.options übergeben.
| Parameter | Typ | Erforderlich | Standard | Zulässig / Bereich | Beschreibung |
|---|---|---|---|---|---|
detection |
enum | Optional | auto |
auto | manual | auto detects the initial flyer grid; manual uses input.data.layout. |
format |
enum | Optional | jpg |
jpg | png | Output image format. |
quality |
number | Optional | 0.92 |
0.5 – 1 | JPG output quality from 0.5 to 1.0. |
maxLongSide |
integer | Optional | 0 |
0 – 4096 | Maximum output long side in pixels. 0 keeps original crop size. |
normalize |
boolean | Optional | false |
— | Place all split products on the same canvas size. |
Ausgabe
Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.
| Typ | files |
|---|---|
| Dateianzahl | 1 – 96 |
| Ausgabe-MIME | image/jpeg, image/png |
| Metadata | width, height, inputBytes, outputBytes, outputCount, columns, rows |
| ZIP-Archiv | Unterstützt · threshold 2 |
Grundlegende Verwendung
Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.
Headless
const result = await client.run("product-flyer-splitter", {
file,
options: { detection: "auto", format: "jpg", quality: 0.92, maxLongSide: 0 }
});
console.log(result.files, result.data, result.metadata);
Interactive
await client.open({
tool: "product-flyer-splitter",
input: { file },
options: { detection: "auto", format: "jpg", quality: 0.92, maxLongSide: 0 },
onComplete(result) { console.log(result.files, result.data, result.metadata); }
});
Embedded
await client.mount({ tool: "product-flyer-splitter", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.