Alle Tools›Product Flyer Splitter
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 · InteractiveE · Embedded
Tool-IDproduct-flyer-splitter
Version1
AusführungCLIENT
ModiHeadless, Interactive, Embedded

Schnellzugriff

Eingabedateien 1Ausgabedateien 1–96

Eingabe

Zulässige Eingabeformate und Dateianzahl für dieses Tool.

Eingabetypfile
Dateianzahl1 – 1
Zulässige MIME-Typenimage/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.

Typfiles
Dateianzahl1 – 96
Ausgabe-MIMEimage/jpeg, image/png
Metadatawidth, height, inputBytes, outputBytes, outputCount, columns, rows
ZIP-ArchivUnterstü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.