dlib.image.io.hdr

Decode and encode Radiance HDR/RGBE images

Members

Classes

HDRLoadException
class HDRLoadException
Undocumented in source.

Functions

floatToRGBE
ColorRGBE floatToRGBE(Color4f c)
Undocumented in source. Be warned that the author may not have intended to support it.
loadHDR
SuperHDRImage loadHDR(string filename)

Load HDR from file using local FileSystem. Causes GC allocation

loadHDR
SuperHDRImage loadHDR(InputStream istrm)

Load HDR from stream using default image factory. Causes GC allocation

loadHDR
Compound!(SuperHDRImage, string) loadHDR(InputStream istrm, SuperHDRImageFactory imgFac)

Load HDR from stream using specified image factory. GC-free

readLineFromStream
void readLineFromStream(InputStream istrm, Array!char line)
Undocumented in source. Be warned that the author may not have intended to support it.
saveHDR
void saveHDR(SuperHDRImage img, string filename)

Save HDR to file using local FileSystem. Causes GC allocation

saveHDR
Compound!(bool, string) saveHDR(SuperHDRImage img, OutputStream output)

Save HDR to stream. GC-free

writeBufferRLE
void writeBufferRLE(OutputStream output, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ColorRGBE
struct ColorRGBE
Undocumented in source.

Meta

Authors

Timur Gafarov