Parse a Radiance RGBE file into a linear-space Float32 RGBA buffer.
Raw .hdr file bytes (e.g. from fetch().arrayBuffer()).
.hdr
fetch().arrayBuffer()
On success, { ok: true, value: { data, width, height } }. On parse failure, { ok: false } with a message describing the malformed header / scanline.
{ ok: true, value: { data, width, height } }
{ ok: false }
Parse a Radiance RGBE file into a linear-space Float32 RGBA buffer.