openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Some problem about half


From: Yan
Subject: [Openexr-devel] Some problem about half
Date: Tue, 20 Jan 2015 09:47:53 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]