Commit fcd2e3c7 authored by Laurent Belcour's avatar Laurent Belcour

[Fix] Changing output precision of EXR to be FLOAT and not HALF

parent 034537f7
......@@ -169,7 +169,7 @@ class t_EXR_IO
header.requested_pixel_types = (int *)malloc(sizeof(int) * header.num_channels);
for (int i = 0; i < header.num_channels; i++) {
header.pixel_types[i] = TINYEXR_PIXELTYPE_FLOAT; // pixel type of input image
header.requested_pixel_types[i] = TINYEXR_PIXELTYPE_HALF; // pixel type of output image to be stored in .EXR
header.requested_pixel_types[i] = TINYEXR_PIXELTYPE_FLOAT; // pixel type of output image to be stored in .EXR
}
const char* err;
......@@ -187,4 +187,4 @@ class t_EXR_IO
}
};
typedef t_EXR_IO<float> EXR_IO ;
\ No newline at end of file
typedef t_EXR_IO<float> EXR_IO ;
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