[][src]Function yaged::decoder::decode

pub fn decode(
    source: impl Read,
    color_output: ColorOutput
) -> Result<Gif, Box<dyn Error>>

Decode a gif encoded source. If RGBA ColorOutput is set, the rgba_raster_data is set in the resulting Gif.