Actions19
Resize
AI-generatedSummary
Resize an input image to the configured width and height using the selected resize strategy. The processed image is returned as binary data, replacing the input binary property by default or using a specified output property name.
Inputs
- Input Property Name (required) — Binary property containing the source image; defaults to
data. - Width (required) — Target width in pixels; defaults to 512. In Percent mode, this value is the width percentage.
- Height (required) — Target height in pixels; defaults to 512. In Percent mode, this value is the height percentage.
- Resize Option — Resize strategy; defaults to Maximum Area, which fits the image within the requested dimensions while preserving aspect ratio. Other choices stretch to exact dimensions (Ignore Aspect Ratio), fill the dimensions while preserving aspect ratio (Minimum Area), resize only when larger or smaller than the bounds, or scale width and height by their respective percentages.
- Options — Optional output binary property name, file name, output format override, quality, and background color for formats without alpha support.
Output shape
One output item per input item, with the processed image in binary data.
The output uses the input binary property name unless an output name is set. Existing JSON data and other binary properties are retained. The final image is encoded in the input format by default, or the selected override format.