Struct image::ico::ICOEncoder [] [src]

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

ICO encoder

Methods

impl<W: Write> ICOEncoder<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. The dimensions of the image must be between 1 and 256 (inclusive) or an error will be returned.