Skip to main content

Module pixel_format

Module pixel_format 

Source

Structs§

LumaAFormat
A Zero-Size-Type that contains the definition to convert a given image stream to an LumaA8(Grayscale 8-bit with 8-bit alpha) in the Buffer’s .decode_image()
LumaFormat
A Zero-Size-Type that contains the definition to convert a given image stream to an Luma8(Grayscale 8-bit) in the Buffer’s .decode_image()
RgbAFormat
A Zero-Size-Type that contains the definition to convert a given image stream to an RGBA8888 in the Buffer’s .decode_image()
RgbFormat
A Zero-Size-Type that contains the definition to convert a given image stream to an RGB888 in the Buffer’s .decode_image()
YuyvFormat
let image: ImageBuffer<Rgb, Vec> = buffer.to_image::();

Traits§

FormatDecoder
Trait that has methods to convert raw data from the webcam to a proper raw image.