Trait picto::Encoder [] [src]

pub trait Encoder<P, C, D> where
    P: Pixel<C>,
    C: Channel,
    D: Deref<Target = [C]>, 
{ fn frame(&mut self, buffer: &Buffer<P, C, D>) -> Result<()>; }

An image encoder.

Required Methods

A frame for the image, respecting the previously defined metadata.

Implementors