Struct QoiEncoder
pub struct QoiEncoder<W> { /* private fields */ }
QOI encoder
Implementations
impl<W: Write> QoiEncoder<W>
fn new(writer: W) -> SelfCreates a new encoder that writes its output to
writer
Trait Implementations
impl<W: Write> ImageEncoder for QoiEncoder<W>
fn write_image(self, buf: &[u8], width: u32, height: u32, color_type: ExtendedColorType) -> ImageResult<()>