Docs.rs
cocoa_image-1.1.0
cocoa_image 1.1.0
Permalink
Docs.rs crate page
CC0-1.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
kornelski
github:rust-bus:maintainers
Dependencies
imgref ^1.10.1
normal
rgb ^0.8.47
normal
core-foundation ^0.10
normal
core-graphics ^0.24
normal
objc ^0.2.7
normal
Versions
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
cocoa_
image
1.1.0
All Items
Enums
Functions
Type Aliases
Crate
cocoa_image
Copy item path
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 Aliases
§
RGBA8
8-bit RGBA, alpha is last. 0 = transparent, 255 = opaque.