Struct png::Writer[][src]

pub struct Writer<W: Write> { /* fields omitted */ }
Expand description

PNG writer

Implementations

Writes the image data.

Create an stream writer.

This allows you create images that do not fit in memory. The default chunk size is 4K, use stream_writer_with_size to set another chuck size.

This borrows the writer. This preserves it which allows manually appending additional chunks after the image data has been written

Create a stream writer with custom buffer size.

See stream_writer.

Turn this into a stream writer for image data.

This allows you create images that do not fit in memory. The default chunk size is 4K, use stream_writer_with_size to set another chuck size.

Turn this into a stream writer with custom buffer size.

See into_stream_writer.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.