Skip to main contentCrate csc411_image
Source pub use crate::imgtype::Gray;pub use crate::imgtype::Rgb;
- imgtype
- GrayImage
- A struct containing a vector of Gray pixels,
a width, height, and denominator
- RgbImage
- A struct containing a vector of RGB pixels,
a width, height, and denominator
- Read
- Behavior that defines reading in a file
returns either a RGB or Gray Image
- Write
- Behavior that defines writing an Image