Function cocoa_image::decode_image_as_rgba_premultiplied [] [src]

pub fn decode_image_as_rgba_premultiplied(
    image_data: &[u8]
) -> Result<ImgVec<RGBA8>, Error>

Returns an RGBA 8-bit bitmap in sRGB color space with premultiplied alpha.

See ImgRef for instructions how to use the returned bitmap.