Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

Tools → Resize Image

AI-generated

Summary

Resize images from workflow input items by applying specified dimensions and output settings, producing resized image binaries.

Inputs

  • Tool Category — Select 'Image' as the category to enable image resizing functions.
  • Binary Property (required) — Name of the binary property on each input item from which to read the image binary data (default 'data').
  • Max Input Size Bytes — Maximum size in bytes allowed for input images to process (default 25000000 bytes).
  • Output Binary Property — Name of the binary property to store the resized image binary data (default 'data').
  • Image Options (required) — Settings defining the output image's width, height, format (PNG, JPEG, WebP), quality (1-100), and maximum output size in bytes.

Output shape

a list of items mirroring the input items, each with the resized image file stored in the specified binary property.

Processing is per input item; input images larger than the configured Max Input Size Bytes are not processed. Output image respects max size and quality settings. Errors are returned as node execution errors.

Examples

Example 1: Resize each input image to 800x600 pixels, outputting as JPEG with 80 quality.

Set Binary Property to 'data', set Image Options Width to 800, Height to 600, Format to 'jpeg', Quality to 80, Output Binary Property to 'data'.

Links

Discussion