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