Radiant
Load Radiance HDR (.hdr, .pic) images.
This is a fork of TechPriest's HdrLdr,
rewritten for slightly better performance. May or may not actually perform better.
I've restricted the API so that it only accepts readers that implement
BufRead.
The original crate, which does not have this restriction, is in turn a slightly rustified version of C++ code by Igor Kravtchenko. If you need more image formats besides HDR, take a look at Image2 crate.
Example
Add radiant to your dependencies of your Cargo.toml:
[]
= "0.2"
And then, in your rust file:
For more complete example, see Simple HDR Viewer application