Image

Load a PNG, JPEG, EXR, HDR, TIFF, TGA, BMP, or WebP file from disk as an image.

What it does

Image loads a picture file from disk, PNG, JPEG, EXR, HDR, TIFF, TGA, BMP or WebP, and brings it into the graph as a texture to composite, sample or feed into effects. The output is always a full image, positioned and scaled by the node's own transform: Position, Rotation, Scale, Anchor.

Interpolation sets how the image reads when scaled or rotated off its native pixel grid. Wrap Mode sets what happens at its edges when something samples past them.

When to use it

ParameterTypeDefault
file_pathString"String::new()"
interpolationString"Bilinear"
wrap_modeString"Clamp"
opacityNumber1
positionVec3(0, 0, 0)
rotationVec3(0, 0, 0)
scaleVec3(1, 1, 1)
anchorVec3(0, 0, 0)

Gotchas

Interpolation matters once the image is scaled, rotated or sampled off its native grid. Nearest keeps hard pixel edges, which suits pixel art. Bilinear smooths the transition, which suits photos.

Wrap Mode comes into play when something reads past the image's edges, such as a distorted Sample or a tiled effect. Clamp holds the edge pixel, Repeat tiles the image, Mirror flips it at each repeat.

Width and Height are metadata outputs carrying the image's pixel dimensions, not part of the visible texture. Wire them into an Expression or a downstream numeric input to react to an image's size.

Worked example

  1. Add an Image node and set File Path to the picture to load.

  2. Adjust Position, Rotation, Scale and Anchor to place it in the frame.

  3. Lower Opacity to blend it with layers underneath.

  4. If the image will be scaled or rotated a lot, choose the Interpolation and Wrap Mode that suit it. Bilinear and Clamp are good defaults for photos.

See also

Colour Correct · HSV Grade · Image Trace · Rasters (images)