Image.detectAlpha

Returns ALPHA_BLEND if the image has data for alpha values. Returns ALPHA_BIT if all the alpha values are below a certain threshold or the maximum value. Returns ALPHA_NONE if no data for alpha values is found.

struct Image
@nogc nothrow const
detectAlpha
()

Meta