[Webkit-unassigned] [Bug 53658] New: FEGaussianBlur kernel size is slightly wrong
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 2 20:41:44 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53658
Summary: FEGaussianBlur kernel size is slightly wrong
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
CC: zimmermann at kde.org
The spec <http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement> says:
if d is odd, use three box-blurs of size 'd', centered on the output pixel.
... if d is even, two box-blurs of size 'd' (the first one centered on the pixel boundary between the output pixel and the one to the left, the second one centered on the pixel boundary between the output pixel and the one to the right) and one box blur of size 'd+1' centered on the output pixel.
The kernelPosition() gets this wrong, since it it fails to subtract the center pixel for at least the (std % 2) case.
--
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