Alle Tools›Batch Image Processor
Entwickler-Tools

Batch Image Processor

batch-image-processor

Use Batch Image Processor through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool-IDbatch-image-processor
Version1
AusführungCLIENT
ModiHeadless, Embedded

Schnellzugriff

Eingabedateien 1–50Ausgabedateien 1–50

Eingabe

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

Eingabetypfile
Dateianzahl1 – 50
Zulässige MIME-Typenimage/jpeg, image/png, image/webp

Parameter

Diese Werte über request.options übergeben.

Parameter Typ Erforderlich Standard Zulässig / Bereich Beschreibung
format enum Optional webp jpg | png | webp Output format.
maxWidth integer Optional 1920 1 – 10000 Maximum width.
quality number Optional 0.85 0.5 – 1 JPG/WebP quality.

Ausgabe

Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.

Typfiles
Dateianzahl1 – 50
Ausgabe-MIMEimage/jpeg, image/png, image/webp
Metadatacount, format, maxWidth, quality
ZIP-ArchivUnterstützt · threshold 2

Grundlegende Verwendung

Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.

Headless

const result = await client.run("batch-image-processor", {
  files: selectedFiles,
  options: { format: "webp", maxWidth: 1920, quality: 0.85 }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "batch-image-processor", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.