Commit af04b422 authored by Rajkiran Natarajan's avatar Rajkiran Natarajan

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

modern readers that expect RADIANCE will read it
parent afa07257
...@@ -145,7 +145,7 @@ rgbe2float(float *red, float *green, float *blue, unsigned char rgbe[4]) ...@@ -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 */ /* default minimal header. modify if you want more information in header */
int RGBE_WriteHeader(FILE *fp, int width, int height, rgbe_header_info *info) 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)) if (info && (info->valid & RGBE_VALID_PROGRAMTYPE))
programtype = info->programtype; programtype = info->programtype;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment