High dynamic-range (HDR) image file format support libraries