Image

NodeDescriptionInputsOutputs
blurApplies Gaussian blur to an image.image Image, sigma Numberimage Image
brightnessAdjusts image brightness.image Image, amount Numberimage Image
canvasCreates a blank image of a solid color with optional transparency.width Number, height Number, color Textimage Image
contrastAdjusts image contrast.image Image, amount Numberimage Image
cropCrops an image to a rectangular region.image Image, x Number, y Number, width Number, height Numberimage Image
flipFlips an image horizontally or vertically.image Image, axis Textimage Image
grayscaleConverts an image to grayscale.image Imageimage Image
infoReturns image metadata (width, height).image Imagewidth Number, height Number, info Json
invertInverts image colors.image Imageimage Image
loadLoads an image from disk.path Textimage Image
resizeResizes an image to the given dimensions.image Image, width Number, height Numberimage Image
resize_fitResizes an image to fit within dimensions while preserving aspect ratio.image Image, max_width Number, max_height Numberimage Image
rotateRotates an image by 90, 180, or 270 degrees.image Image, degrees Numberimage Image
saveSaves an image to disk.image Image, path Textpath Text
to_ansiConverts an image to ANSI terminal escape sequences.image Image, width Number, mode Text, color Textansi Text

blur

Applies Gaussian blur to an image.

Inputs:

Output: image (Image) — blurred image as base64

brightness

Adjusts image brightness.

Inputs:

Output: image (Image) — brightness-adjusted image

See also: contrast

canvas

Creates a blank image of a solid color with optional transparency.

Inputs:

Output: image (Image) — solid-color RGBA image as base64

See also: color/from_hex, drawing/overlay

contrast

Adjusts image contrast.

Inputs:

Output: image (Image) — contrast-adjusted image

See also: brightness

crop

Crops an image to a rectangular region.

Inputs:

Output: image (Image) — cropped image as base64

See also: resize, resize_fit

flip

Flips an image horizontally or vertically.

Inputs:

Output: image (Image) — flipped image as base64

See also: rotate

grayscale

Converts an image to grayscale.

Inputs:

Output: image (Image) — grayscale image as base64

See also: invert, brightness

info

Returns image metadata (width, height).

Inputs:

Outputs:

See also: load, resize

invert

Inverts image colors.

Inputs:

Output: image (Image) — color-inverted image

See also: grayscale, color/complement

load

Loads an image from disk.

Inputs:

Output: image (Image) — loaded image as base64 data URI

See also: save, info

resize

Resizes an image to the given dimensions.

Inputs:

Output: image (Image) — resized image (exact dimensions)

See also: resize_fit, crop

resize_fit

Resizes an image to fit within dimensions while preserving aspect ratio.

Inputs:

Output: image (Image) — resized image (aspect ratio preserved)

See also: resize, crop

rotate

Rotates an image by 90, 180, or 270 degrees.

Inputs:

Output: image (Image) — rotated image as base64

See also: flip

save

Saves an image to disk.

Inputs:

Output: path (Text) — path that was written to

See also: load

to_ansi

Converts an image to ANSI terminal escape sequences.

Inputs:

Output: ansi (Text) — ANSI escape sequence string

See also: load, resize