Dear all,
I have a problem about half.
I read the *.exr image using the openexr library 2.2.0, and then copy the
value from the array.
But, when I compare the original and the copy value, I found that they are
not the same!
This situation occurs when the 16-bit unsigned integer of half is bigger
than 31744.
Here is my c++ code and the output is "no.":
half tempR;
tempR = rUncompressionPixels[0][0];
if(rUncompressionPixels[0][0] != tempR)
{
cout << "no." << endl;
}
Does there have any update of openexr library to solve this problem?
Yan 2015.01.20
_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel