Update JPEG XR encoder to latest code from MS.