LoadImage¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
An image represented as a byte array | Bytes Any |
||
Output ➡️ |
The image as an image type. | Image |
||
File |
No | The file to load the image from | none |
String Var(String) None |
BPP |
No | bits per pixel (HDR images loading and such!) | BPP::u8 |
BPP |
PremultiplyAlpha |
No | Toggle premultiplication of alpha channel | false |
Bool |
This shard loads an image from a file (specified in the File parameter) or byte array (passed as input) and outputs it as an image type, that can subsequently be used by other shards such as UI.Image and UI.ImageButton.