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.
A frame for the image, respecting the previously defined metadata.