Simple conversions between floating point XYZ or RGB and XYZE or RGBE encodings.