[Webkit-unassigned] [Bug 82510] New: SVG content in scaled SVG <image> tag is sampled from unscaled image
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 28 12:58:29 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=82510
Summary: SVG content in scaled SVG <image> tag is sampled from
unscaled image
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: schenney at chromium.org
CC: zimmermann at kde.org, krit at webkit.org
Created an attachment (id=134376)
--> (https://bugs.webkit.org/attachment.cgi?id=134376&action=review)
Primary repro file, requires the other attachment
Consider the two attached files, one of which includes the other in a <image> element. The included content is a 100x100 SVG doc. It is included in a 100x100 <image> tag that is transformed to be 5x larger. The result is an image of the included SVG at 100x100 up-sampled to 500x500. This looks blurry, as one would expect.
We looked at the spec and it does not really say what to do here, but clearly the intent is for SVG content in an image tag to be rendered as accurately as possible, as this is the only avenue for including an entire SVG document in another SVG document. The spec clearly distinguishes between "raster" image data and SVG image data, leading us to believe that the spec does not think that SVG included using <image> shoudl actually be a raster image.
Firefox renders the SVG content at 500x500 and does not look blurred.
--
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