Crate cocoa_image [] [src]

Enums

Error

Functions

decode_image_as_rgba

On macOS returns an RGBA 8-bit bitmap in sRGB color space with regular (non-associated) alpha.

decode_image_as_rgba_premultiplied

On macOS returns an RGBA 8-bit bitmap in sRGB color space with premultiplied alpha.

Type Definitions

RGBA8

Alpha is last. The crate doesn't impose which value represents transparency, but usually it's 0 = transparent, 255 = opaque.