Struct image::png::PNGEncoder [] [src]

pub struct PNGEncoder<W: Write> { /* fields omitted */ }

PNG encoder

Methods

impl<W: Write> PNGEncoder<W>
[src]

Create a new encoder that writes its output to w

Encodes the image image that has dimensions width and height and ColorType c