[Webkit-unassigned] [Bug 42273] Convolution computation causes bad alpha channel values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 15 01:23:27 PDT 2010


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





--- Comment #22 from Zoltan Herczeg <zherczeg at webkit.org>  2010-07-15 01:23:27 PST ---
    unsigned char maxAlpha = 255;
    if (!preserveAlphaValues)
        maxAlpha = clampRGBAValue(totals[3]);

Maybe:

    unsigned char maxAlpha = preserveAlphaValues ? 255 : clampRGBAValue(totals[3]);

Not sure this is preferred.

-- 
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