Crate cocoa_image [] [src]

This is based on ImgRef and RGB crates.

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

8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque.