The XRH file format (with .xrh file name extension) is a simple standard royalties-free file format for storing and archiving extended range raster image data.
XRH stores higher precision extended range still images. The images could be any spatially correlated rectangular raster data, such as photographs, or geographic elevation data, etc. Each image contains one or more channels (also called image planes or components).
Extended range (XR) images are images that store more than 8 bits per channel. The number of bits per channel is called precision. Extended range images have higher precision.
XRH files can store images that are 32 bits or 64 bits per channel. Each value (sample) stored in a channel is a floating point number (Float32 or Float64).
Color sample values are stored as natural (linear) color values, because higher precision makes sample values more dense (eliminating the need to nonlinearly spread sample values).
In an XRH file, each channel of floating point numbers is stored compressed. Each channel can have its own Compression Type. The following Compression Types are currently supported:
Zebra is a lossless compression method using
to store Byte Channels of multi-byte samples:
four Byte Channels per
SZMOD is a lossy compression method for
Free proof-of-concept C source code for reading and writing