Module hdr

Source
Expand description

Decoding of Radiance HDR Images

A decoder for Radiance HDR images

Structs§

HdrAdapter
Adapter to conform to ImageDecoder trait
HdrDecoder
An Radiance HDR decoder
HdrEncoder
Radiance HDR encoder
HdrImageDecoderIterator
Scanline buffered pixel by pixel iterator
HdrMetadata
Metadata for Radiance HDR image
HdrReader
Wrapper struct around a Cursor<Vec<u8>>
Rgbe8Pixel
Refer to wikipedia

Constants§

SIGNATURE
Radiance HDR file signature

Functions§

read_raw_file
Helper function for reading raw 3-channel f32 images
rgbe8
Creates Rgbe8Pixel from components
to_rgbe8
Converts Rgb<f32> into Rgbe8Pixel