[WIP] A complete port of OpenEXR 2.2 to Javascript