Struct png::Writer
[−]
[src]
pub struct Writer<W: Write> { // some fields omitted }
Methods
impl<W: Write> Writer<W>
fn write_chunk(&mut self, name: [u8; 4], data: &[u8]) -> Result<()>
fn write_image_data(&mut self, data: &[u8]) -> Result<()>
Writes the image data.