gif
pub struct Encoder<W: Write> { // some fields omitted }
GIF encoder.
impl<W: Write> Encoder<W>
fn new(w: W, width: u16, height: u16) -> Self
Creates a new encoder.
fn write_global_palette(self, palette: &[u8]) -> Result<Writer<W>>
Writes the global color palette