Web3S_Demo > Web 3S Byte Utils Function Library > BytesToImage

BytesToImage

Converts raw image byte data into a UTexture2D object.
This function uses the ImageWrapper module to handle compressed image data and decompress it before converting it into a texture.

Inputs

In
Exec

Bytes
Array of Bytes

The raw byte data representing the compressed image.

Outputs

Out
Exec

Return Value
Texture 2D Object Reference

A UTexture2D object representing the image, or nullptr if the image could not be processed.