mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
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:
parent
afa072578c
commit
af04b422c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user