[Webkit-unassigned] [Bug 108897] [Cairo] Canvas-shadow behavior is not being as expected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 6 01:11:59 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=108897
--- Comment #50 from Rashmi Shyamasundar <rashmi.s2 at samsung.com> 2013-05-06 01:10:21 PST ---
There seems to be an issue with the bilinear filtering technique being used in cairo. The filter types "CAIRO_FILTER_GOOD", "CAIRO_FILTER_BEST" and "CAIRO_FILTER_BILINEAR" use the bilinear technique. "CAIRO_FILTER_NEAREST" and "CAIRO_FILTER_FAST" use the nearest-neighbour technique and its working fine.
I have attached a simple program - "testImageStretch.cpp", which shows the usage of "BILINEAR" and "NEAREST NEIGHBOUR" filtering techniques in cairo.
I have also attached 3 images -
1. swatch-yellow.png - Source Image for creating the pattern
2. bilinear.png - Image stretched using BILINEAR filter
3. nearest.png - Image stretched using "nearest" filter
We can clearly see that, the border pixels in "bilinear.png" are not the same as the color in the source image - "swatch-yellow.png".
--
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