Crate cocoa_image [−] [src]
On macOS returns an RGBA 8-bit bitmap in sRGB color space with regular (non-associated) alpha.
On macOS returns an RGBA 8-bit bitmap in sRGB color space with premultiplied alpha.
Alpha is last. The crate doesn't impose which value represents transparency, but usually it's 0 = transparent, 255 = opaque.