Skip to content

An experimental allocated buffer suitable for image data (Rust library).

Notifications You must be signed in to change notification settings

image-rs/canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An experimental allocated buffer suitable for image data (Rust library).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages