All Tools›Product Flyer Splitter
Image 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
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Interactive, Embedded

Quick actions

Input files 1Output files 1–96

Input

Accepted input contract for this Tool.

Kindfile
File count1 – 1
Accepted MIME typesimage/jpeg, image/png, image/webp

Parameters

Pass these values through request.options.

Parameter Type Required Default Allowed / Range Description
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.

Output

Result contract returned after successful processing.

Typefiles
File count1 – 96
MIME typesimage/jpeg, image/png
Metadatawidth, height, inputBytes, outputBytes, outputCount, columns, rows
ZIP archiveYes · threshold 2

Basic usage

Choose a supported integration mode and copy the generated starter code.

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.