[Webkit-unassigned] [Bug 52335] [Chromium] Bleeding/incorrect edge pixels when scaling images on Snow Leopard

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 07:54:42 PST 2011


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


Mihai Parparita <mihaip at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |avi at drissman.com




--- Comment #2 from Mihai Parparita <mihaip at chromium.org>  2011-01-13 07:54:41 PST ---
I have attempted to make mac and chromium-mac as consistent as possible, but I'm still unable to figure out why only chromium-mac gets this weird interpolating behavior:

- I switched the PNG image from indexed color to RGBA (chromium-mac always creates CGIMages that are RGBA, but the mac port loads images using CoreGraphics and still had the CGImage with an indexed color space)
- I switched the chromium-mac image from kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host to  kCGImageAlphaLast (to match the mac port)

All other attributes (CGImageShouldInterpolate, CGImageGetRenderingIntent) are the same.

The only difference that I can think of at this point is that the GraphicsContext/CGContext that we're drawing into is somehow different but I'm not sure where that's set up.

+Avi in case he has any ideas.

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