Struct gif::Writer
[-] [+]
[src]
pub struct Writer<W: Write> { // some fields omitted }
Wrapper for Encoder
that indicates that the file headers have been written.
Methods
impl<W: Write> Writer<W>
fn write_frame(&mut self, frame: &Frame) -> Result<()>
Writes a complete frame to the image
Note: This function also writes a control extention if necessary.
fn write_extension(&mut self, extension: ExtensionData) -> Result<()>
Writes an extension to the image
fn write_raw_extension(&mut self, func: u8, data: &[u8]) -> Result<()>
Writes a raw extension to the image