Struct gifski::Writer
[−]
[src]
pub struct Writer { /* fields omitted */ }
Perform GIF writing
Methods
impl Writer
[src]
Encode collected frames
fn write<W: Write + Send>(
self,
outfile: W,
reporter: &mut ProgressReporter
) -> CatResult<()>
[src]
self,
outfile: W,
reporter: &mut ProgressReporter
) -> CatResult<()>
Start writing frames. This function will not return until Collector
is dropped.
outfile
can be any writer, such as File
or &mut Vec
.
ProgressReporter.increase()
is called each time a new frame is being written.