Struct png::Reader[][src]

pub struct Reader<R: Read> { /* fields omitted */ }
Expand description

PNG reader (mostly high-level interface)

Provides a high level that iterates over lines or whole images.

Implementations

Decodes the next frame into buf

Returns the next processed row of the image

Returns the next processed row of the image

Returns the color type and the number of bits per sample of the data returned by Reader::next_row and Reader::frames`.

Returns the number of bytes required to hold a deinterlaced image frame that is decoded using the given input transformations.

Returns the number of bytes required to hold a deinterlaced row.

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.