Unusual header in Radiance HDR files (#?RGBE)
Posted: 2018-01-03T02:33:32-07:00
When using an HDR compiled ImageMagick to resize a .hdr file, ImageMagick puts "#?RGBE" in the file header instead of "#?RADIANCE", causing compatibility issues with some software.
It seems #?RADIANCE is correct as it's accepted by all software I've tested, whereas #?RGBE is only supported occasionally. As far as I know they are the same format.
Photoshop, Blender, PTGui and Picturenaut all write HDR files with the #?RADIANCE header; to my knowledge it seems only ImageMagick uses the #?RGBE header though I guess there must be others too.
Software known to work with the #?RADIANCE header but not the #?RGBE header: Unreal Engine, Corona Engine in 3Ds Max and Daz Studio. There are likely more though these are the only ones I've received emails about. Developers from cmftStudio and LizardQ Viewer also mentioned the problem to me and said that they were able to support the unusual header by treating the file the same as if it had the #?RADIANCE header instead.
It seems #?RADIANCE is correct as it's accepted by all software I've tested, whereas #?RGBE is only supported occasionally. As far as I know they are the same format.
Photoshop, Blender, PTGui and Picturenaut all write HDR files with the #?RADIANCE header; to my knowledge it seems only ImageMagick uses the #?RGBE header though I guess there must be others too.
Software known to work with the #?RADIANCE header but not the #?RGBE header: Unreal Engine, Corona Engine in 3Ds Max and Daz Studio. There are likely more though these are the only ones I've received emails about. Developers from cmftStudio and LizardQ Viewer also mentioned the problem to me and said that they were able to support the unusual header by treating the file the same as if it had the #?RADIANCE header instead.