loadImage

The one function you probably want to use. Loads an image from a static array. Because probing has been removed from stb_image, parsing is optimistic and might throw internally before finding the right image format.

Image!RGBA
loadImage
(
const(ubyte[]) imageData
)

Throws

Meta