Change program type in hdr format files to modern value: RADIANCE so

modern readers that expect RADIANCE will read it
This commit is contained in:
Rajkiran Natarajan 2019-12-17 20:17:32 -08:00
parent afa072578c
commit af04b422c9

View File

@ -145,7 +145,7 @@ rgbe2float(float *red, float *green, float *blue, unsigned char rgbe[4])
/* default minimal header. modify if you want more information in header */
int RGBE_WriteHeader(FILE *fp, int width, int height, rgbe_header_info *info)
{
const char *programtype = "RGBE";
const char *programtype = "RADIANCE";
if (info && (info->valid & RGBE_VALID_PROGRAMTYPE))
programtype = info->programtype;