[][src]Function ndarray_image::open_image

pub fn open_image(
    path: impl AsRef<Path>,
    colors: Colors
) -> ImageResult<Array3<u8>>

Opens a color image using the image crate and loads it into a 3d array. This performs a copy.