Docs.rs
cocoa_image-1.1.0
cocoa_image 1.1.0
Permalink
Docs.rs crate page
CC0-1.0
Links
Homepage
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
71.43%
of the crate is documented
Platform
x86_64-apple-darwin
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cocoa_
image
1.1.0
All Items
Crate 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.