NodeIcon ResizeImage

Resizes an input image using a scale factor or a custom resolution.


Inputs

Texture

Image Image to resize.

Output

Image Resized image.

Parameters

Scale:

multiplier applied to the input width and height.

Custom Resolution:

if set, uses Resolution as the output size instead of calculating it from Scale.

Resolution:

output width and height in pixels when Custom Resolution is enabled.

Fit:
Stretch

Resizes to the output resolution without preserving aspect ratio.

Fit

Preserves aspect ratio and centers the whole image with padding in Background Color (default).

Fill

Preserves aspect ratio and fills the output, cropping the excess around the center.

Background Color:

color and opacity of padding and the background behind transparent image pixels in Fit and Fill.

Method:
Nearest

Uses the value of the nearest source pixel.

Bilinear

Uses bilinear interpolation.

Bicubic

Uses bicubic interpolation.

Bicubic Sharp

Uses bicubic interpolation with a sharp filter.

Bicubic Smooth

Uses bicubic interpolation with a smooth filter.

Compute:
OpenGL

Computes the result on the GPU.

CPU

Computes the result on the CPU.