Skip to content

Resize Image

Overview

This node changes the resolution of an image to specific dimensions. It's often used to prepare data for model inputs or to standardize display sizes on a dashboard.

Use Resize Image when:

  • An AI model requires a fixed input resolution (e.g., 640x480).
  • You want to reduce bandwidth usage for reporting.

⚠️ Warning

Be mindful of the aspect ratio. If the new dimensions don't match the original ratio, the image may appear stretched.

Inputs

NameTypeDescription
imageimageThe original image to be resized.

Outputs

NameTypeDescription
resized_imageimageThe resulting image after resizing.

Parameters

ParameterDefaultValid valuesUnitTunable
Width640integerpx
Height480integerpx

Width

Sets the target width of the image in pixels.

Height

Sets the target height of the image in pixels.

Example

Downscale for AI processing

A high-resolution 4K camera stream is downscaled to 640x480 to meet the input requirements of a AI model node.

Configuration:

  • Width: 640
  • Height: 480

Result: The model receives an image of the correct size for efficient inference.

Reference: