cocoa_image 1.0.0

Read RGBA image using macOS Cocoa API
Documentation

Load image in Rust using Cocoa decoders

Allows reading any image format that macOS supports natively, in Rust.

Returns an RGBA 8-bit bitmap in sRGB color space with premultiplied alpha.

Links with AppKit.framework. Compiles to nothing on other platforms (just gracefully always returns an error).