#image #display #evcxr #jupyter #integration #rgb

evcxr_image

Displays images from the image crate in Evcxr Jupyter

2 stable releases

1.1.0 Dec 25, 2020
1.0.0 Dec 14, 2018

#6 in #evcxr

Apache-2.0

10KB
82 lines

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])
    }
})

Dependencies

~11MB
~49K SLoC