Function dimage::png::enc::encode_with_plte_trns [] [src]

pub fn encode_with_plte_trns<I, Q>(
    image: &I,
    plte: Q,
    w: &mut Write
) -> Result<()> where
    I: Image<Bounds = Size2<Coord>, Index = Vec2<Coord>, Pixel = u8>,
    Q: IntoIterator<Item = Rgba<u8>>, 

Encodes an indexed PNG image with transparency.