Struct image::hdr::HDRDecoder [] [src]

pub struct HDRDecoder<R> { /* fields omitted */ }

An Radiance HDR decoder

Methods

impl<R: BufRead> HDRDecoder<R>
[src]

[src]

Reads Radiance HDR image header from stream r if the header is valid, creates HDRDecoder strict mode is enabled

[src]

Reads Radiance HDR image header from stream reader, if the header is valid, creates HDRDecoder.

strict enables strict mode

Warning! Reading wrong file in non-strict mode could consume file size worth of memory in the process.

[src]

Returns file metadata. Refer to HDRMetadata for details.

[src]

Consumes decoder and returns a vector of RGBE8 pixels

[src]

Consumes decoder and returns a vector of transformed pixels

[src]

Consumes decoder and returns a vector of Rgb pixels. scale = 1, gamma = 2.2

[src]

Consumes decoder and returns a vector of Rgb pixels.

Trait Implementations

impl<R: Debug> Debug for HDRDecoder<R>
[src]

[src]

Formats the value using the given formatter.

impl<R: BufRead> IntoIterator for HDRDecoder<R>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more