Struct image::codecs::bmp::BmpEncoder
source · pub struct BmpEncoder<'a, W: 'a> { /* private fields */ }
Expand description
The representation of a BMP encoder.
Implementations§
Trait Implementations§
source§impl<'a, W: Write> ImageEncoder for BmpEncoder<'a, W>
impl<'a, W: Write> ImageEncoder for BmpEncoder<'a, W>
source§fn write_image(
self,
buf: &[u8],
width: u32,
height: u32,
color_type: ColorType
) -> ImageResult<()>
fn write_image( self, buf: &[u8], width: u32, height: u32, color_type: ColorType ) -> ImageResult<()>
Writes all the bytes in an image to the encoder. Read more