From af04b422c9fc2d10b30a2323175805f5e63863e8 Mon Sep 17 00:00:00 2001 From: Rajkiran Natarajan Date: Tue, 17 Dec 2019 20:17:32 -0800 Subject: [PATCH] Change program type in hdr format files to modern value: RADIANCE so modern readers that expect RADIANCE will read it --- modules/imgcodecs/src/rgbe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgcodecs/src/rgbe.cpp b/modules/imgcodecs/src/rgbe.cpp index 7942fcd..cea23f6 100644 --- a/modules/imgcodecs/src/rgbe.cpp +++ b/modules/imgcodecs/src/rgbe.cpp @@ -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; -- 2.7.4