Read image file🔗

Reads an image from file and outputs it either as a raw compressed image or as a decoded, processable image.

Inputs🔗

  • fileName: The name of the file to read.

  • decode: If set to false, the tool will emit images in the raw format stored in the file. Usually, the raw format is compressed such as jpeg or png, but it may also be an encoded color format such as Bayer or YUV. If set to true, the images are always automatically decoded to (A)RGB or gray levels before emitting. The output will have an alpha channel if the image file contains one.

Outputs🔗

  • image: A raw or decoded image.