Skip to content

Resize

Node icon
Transform

Scales an image to exact pixel dimensions or by percentage, with aspect ratio control.

A pixel art knight's helmet enlarged 800 percent by Resize two ways: Bilinear softens every pixel into a blur, Nearest keeps each one a crisp square

A new Resize node starts in Percentage mode at 100%, so it passes the input through unchanged until you adjust it.

In Exact Size mode, the Width (keep aspect) and Height (keep aspect) Fit Modes set one axis and derive the other from the source proportions, and Longest Side (keep aspect) sets the longer side, portrait or landscape, with one Longest Side (px) row; the derived axis’s field hides and the panel reports the size produced. Image In offers the same options under Custom Size. With a size_ref image connected, the reference’s size replaces the typed one, and Match does the same single-axis job: Width Only or Height Only adopts one reference dimension and derives the other from the source aspect ratio. With Both Axes, Fit Mode still applies, and Longest Side makes the source’s longer side as long as the reference’s. See Image Size & Large Images.

Each axis is handled on its own: an axis that shrinks, by any amount, is softened just enough for its new size so fine detail does not shimmer, and an axis that holds or grows uses the filter you picked. Nearest is never softened.

Resize accepts a whole texture set and resamples every map to the same size. A uniform resize of any size leaves the Normal unchanged, the way a game engine reads a tiled normal map; an aspect change tilts it by the ratio between the two axes.

Pins

ImagePixels or Texture
InputRequired
Size RefSize Reference
InputOptional
ImagePixels or Texture
Output

Transform

ModeChoice
Default: Percentage
No size_ref connected
  • Exact SizeResize to specific pixel dimensions (width x height).
  • PercentageScale by a percentage of the original size.
Width (px)Integer
Default: 1024 Range: 1–16384
Exact Size mode, except Fit Mode = Height (keep aspect)

Target output width in pixels. At Longest Side, the length of the longer side

Height (px)Integer
Default: 1024 Range: 1–16384
Exact Size mode, except Fit Mode = Width (keep aspect) or Longest Side (keep aspect)

Target output height in pixels

Fit ModeChoice
Default: Stretch
Exact Size mode, or size_ref with Match = Both Axes

How to handle aspect ratio mismatch

  • StretchIgnore aspect ratio and force to exact dimensions. May distort.
  • Fit (letterbox)Scale to fit inside the target, preserving aspect ratio. May leave empty space.
  • Fill (crop)Scale to fill the target, preserving aspect ratio. May crop edges.
  • Width (keep aspect)Size to the target width and let the height follow the source aspect ratio. No distortion, letterboxing, or cropping.
  • Height (keep aspect)Size to the target height and let the width follow the source aspect ratio. No distortion, letterboxing, or cropping.
  • Longest Side (keep aspect)Size the longer side, portrait or landscape, to the length set in Longest Side (px), and let the other side follow the source aspect ratio.
MatchChoice
Default: Both Axes Range: Both Axes / Width Only / Height Only
size_ref connected only

Which size_ref dimensions to adopt.

  • Both Axes: output is exactly the reference size (Fit Mode handles any aspect-ratio mismatch).
  • Width Only: match the reference width; height follows to keep the source aspect ratio.
  • Height Only: match the reference height; width follows likewise.
Scale X (%)Number
Default: 100.00 Range: 1.00–800.00
Percentage mode only

Horizontal scale factor as a percentage of the input width

Scale Y (%)Number
Default: 100.00 Range: 1.00–800.00
Percentage mode only

Vertical scale factor as a percentage of the input height

Lock AspectToggle
Default: true
Percentage mode only

When checked, Y scale tracks X scale to preserve aspect ratio

FilterChoice
Default: Bilinear

Resampling filter used when scaling.

A texture set with a Normal or Height map uses Bilinear.

  • NearestPixel-perfect, ideal for pixel art scaling.
  • BilinearSmooth interpolation, good for general use.
  • LanczosSharpest quality, best for downscaling photographs.
  • Use a keep-aspect Fit Mode when only one dimension matters, such as sizing every asset to a fixed width for the web.
  • With a size_ref connected, Match owns single-axis sizing; the keep-aspect Fit Modes apply only to typed dimensions.
  • Branch several Resize nodes off one source to produce every size of an asset in one graph.