[Webkit-unassigned] [Bug 138477] Don't premultiply and then unpremultiply PNGs on iOS.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 5 08:46:40 PST 2021


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

mrmaxm <core at moka.co> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |core at moka.co

--- Comment #11 from mrmaxm <core at moka.co> ---
(In reply to Roger Fong from comment #9)
> I will run a test where I draw an image with an alpha gradient.
> Because this only really effects low alpha values, i'll then re-render the
> image after removing the alpha channels. I'd expect to see a lot of banding.
> 
> I'll also write a performance test to continually redraw a (large) png (on a
> retina device?) and then run do some before and after profiling.
> 
> After I prove that this actually is an improvement (even if only slight) and
> if I determine that its not a noticeable performance hit then I think we'd
> be good to go.
> 
> If not, I can special case to only pngs used by WebGL (A call to texture2d).
> 
> It would be also nice if CG just had a flag for the decoder to return the
> raw png data instead of having to jump through all these hoops to get to it.

Since 2014 nothing happened on this bug.
It is still an issue, and iOS still premiltiplies PNG, making packing techniques such as RGBM not viable due to rounding issues.

Please advice on status of this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210305/7b093395/attachment.htm>


More information about the webkit-unassigned mailing list