mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Merge pull request #16188 from saskatchewancatch:issue-13551
This commit is contained in:
commit
f8b16fa293
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user