Struct png::Reader [] [src]

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

PNG reader (mostly high-level interface)

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

Methods

impl<R: Read> Reader<R>
[src]

[src]

[src]

Decodes the next frame into buf

[src]

Returns the next processed row of the image

[src]

Returns the next processed row of the image

[src]

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

[src]

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

[src]

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