Crate cocoa_image [−] [src]
Enums
Error |
Functions
decode_image_as_rgba | |
decode_image_as_rgba_premultiplied |
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. |