Type Definition image::GrayImage [] [src]

type GrayImage = ImageBuffer<Luma<u8>, Vec<u8>>;

Sendable grayscale image buffer

Methods

impl GrayImage
[src]

[src]

Expands a color palette by re-using the existing buffer. Assumes 8 bit per pixel. Uses an optionally transparent index to adjust it's alpha value accordingly.