[][src]Type Definition embedded_graphics::image::Image8BPP

type Image8BPP<'a, C> = Image<'a, C, ImageType8BPP>;

8 bits per pixel image

Each byte of input data defines the on/off state for each pixel. This currently only supports monochrome displays, so if the pixel value is 0, it's off, anything above 0 is on.

You can convert an image to 8BPP for inclusion with include_bytes!() using the following Imagemagick command:

convert image.png -depth 8 gray:"image.raw"

Trait Implementations

impl<'a, C> IntoIterator for &'a Image8BPP<'a, C> where
    C: PixelColor
[src]

type Item = Pixel<C>

The type of the elements being iterated over.

type IntoIter = ImageIterator<'a, C, ImageType8BPP>

Which kind of iterator are we turning this into?