loadImageSeparateAlpha

Loads two different images: - the 1st is the RGB channels - the 2nd is interpreted as greyscale and fetch in the alpha channel of the result. The OwnedImage is allocated with mallocEmplace and should be destroyed with destroyFree.

nothrow @nogc
loadImageSeparateAlpha
(
in void[] imageDataRGB
,
in void[] imageDataAlpha
)

Throws

ImageIOException on error.

Meta