[Webkit-unassigned] [Bug 38735] ImageBuffer::transformColorSpace : linear RGB -> sRGB conversion formula error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 7 21:48:39 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38735





--- Comment #5 from Dirk Schulze <krit at webkit.org>  2010-05-07 21:48:39 PST ---
(In reply to comment #3)
> (From update of attachment 55359 [details])
> > +                color = (pow(color, 1.0f / 2.4f) * 1.055f) - 0.055f;
> 
> Shouldn't this be powf? Using pow means we'll convert to double and then back
> to float.

Right, sorry. Didn't see  that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list