Load Image

Loads an image file into a texture.

Outputs

NameTypeDescription
OutputTextureThe loaded image.

Parameters

NameTypeDescription
SizeoutputVector 2 IntThe width and height of the loaded image in pixels, 0 by 0 when nothing is loaded.
File PathStringThe image file to load, picked with a file dialog or typed.

The Load Image operator brings a picture from disk into the graph. Dropping an image file into the editor makes a Load Image with the path filled in. A typed path is read when it is confirmed, not while it is typed.

It reads PNG, JPG, BMP, TGA, GIF, PSD, HDR and the PNM family. A GIF gives only its first frame, but dropped into the editor it makes a Video Player instead, which plays it. A PSD gives its flattened image and must be in RGB mode with 8 or 16 bits per channel. An HDR file is brought down to ordinary 8 bit color.

See also Save Image.

Keywords: load, image, open, file, import, picture, png, jpg, photo, read