Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.38 KB

Readme.md

File metadata and controls

31 lines (26 loc) · 1.38 KB

image-canvas

Provides the definition of a texel trait and marker type, several buffer and layout abstractions, and a color aware, flexible buffer on top.

  • texel contains image-texel, the kernel of image buffer and element types that are themselves free of policy. By that we mean, it's always possible to access bytes directly and to convert to arbitrary layouts with minimal reallocation overhead. texel-crates texel-docs
  • canvas contains image-canvas, defining color models and conversion to provide an opinionated default within the layout framework of image-texel. canvas-crates texel-docs
  • drm contains image-drm, a work-in-progress to provide native Rust types mirroring each of those available through libdrm with the goal of simplifying frame buffer interaction.

I just want to see the goods

cargo run --example --release show-oklab
# Writes an image test.png
cargo run --example --release show-srlab2
# Another image test.png in another color space