Function repng::encode [] [src]

pub fn encode<W: Write>(
    sink: W,
    width: u32,
    height: u32,
    image: &[u8]
) -> Result<()>

Encode an RGBA image.