Skip to content

Resize Image

Purpose of the Node

The Resize Image node resizes an input image to a specified target width and height using various resize modes and filter algorithms. It also supports using a reference mode to transform the original image instead of a copy.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiate ExecutionExecutionN/A
Image InImage object to be resizedStructNodeImage
Use ReferenceUse Reference of the image, transforming the original instead of a copyBooleanTrue
ModeResize ModeString”keep_aspect”, “exact”, or “to_fill”
FilterResize Filter AlgorithmString”Nearest”, “Triangle”, “CatmullRom”, “Gaussian”, or “Lanczos3”
Width InResized Image Target WidthInteger512
Height InResized Image Target HeightInteger512
EndDone with the ExecutionExecutionN/A
Image OutResized Image objectStructNodeImage
Width OutResized Image Result WidthIntegerN/A
Height OutResized Image Result HeightIntegerN/A