#Write the included data to an EXR file
tmpfile = tempfile(fileext = ".exr")
write_exr(tmpfile,
widecolorgamut[,,1],
widecolorgamut[,,2],
widecolorgamut[,,3],
widecolorgamut[,,4])
exr_file = read_exr(tmpfile)
str(exr_file)
Run the code above in your browser using DataLab