evcxr_image 1.1.0

Displays images from the image crate in Evcxr Jupyter
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 3.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.16 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • evcxr/evcxr
    6413 236 121
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • davidlattimore

Evcxr image

Integration between Evcxr Jupyter and the image crate. Enables display of images in Evcxr Jupyter kernel.

Currently supports all 8 bit per channel formats:

Example usage:

:dep image = "0.23"
:dep evcxr_image = "1.1"

use evcxr_image::ImageDisplay;

image::ImageBuffer::from_fn(256, 256, |x, y| {
    if (x as i32 - y as i32).abs() < 3 {
        image::Rgb([0, 0, 255])
    } else {
        image::Rgb([0, 0, 0])
    }
})