Docs.rs
cocoa_image-1.0.6
cocoa_image 1.0.6
Permalink
Docs.rs crate page
CC0-1.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
kornelski
github:rust-bus:maintainers
Dependencies
imgref ^1.9.4
normal
rgb ^0.8.36
normal
core-foundation ^0.9.3
normal
core-graphics ^0.23.0
normal
objc ^0.2.7
normal
Versions
100%
of the crate is documented
Platform
x86_64-apple-darwin
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate cocoa_image
Version 1.0.6
All Items
Enums
Functions
Type Definitions
?
Crate
cocoa_image
source
·
[
−
]
Expand description
This is based on
ImgRef
and
RGB
crates.
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
8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque.