[Image-SIG] .hdr support

Edward Cannon edward at unicornschool.org
Sun Nov 28 02:09:01 CET 2010


Is anyone interested in .hdr image files? some time ago I needed to
read some and not finding a decent solution, I wrote my own on top of
PIL. If anyone is interested I would be happy to share it with
everyone.

More information about the .hdr or Radiance file format: it is an
older file format for high dynamic range images stored as RGBe where e
is an exponent. Files come in several compressed and uncompressed
flavors. My code reads the uncompressed version and returns the image
as a (R,G,B) tuple of 32bit floating point images. I also wrote a few
support functions to assist in my endeavors.

Edward Cannon
Unicorn School


More information about the Image-SIG mailing list