Re: Issue 119471 in chromium: scaled SVG images are shown pixelated

349 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 29, 2012, 11:12:07 AM3/29/12
to chromi...@chromium.org
Updates:
Status: Unconfirmed

Comment #4 on issue 119471 by schen...@chromium.org: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

I see the reported problem in Chrome 18.

However, this has been fixed in Chromium 19, or at least I cannot reproduce
it in Chromium 19.

I suggest we verify in Chrome 19 when that pushes out.


chro...@googlecode.com

unread,
Apr 18, 2012, 5:10:35 AM4/18/12
to chromi...@chromium.org

Comment #5 on issue 119471 by starbeam...@gmail.com: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

should this bug be merged into #83422?

chro...@googlecode.com

unread,
Apr 19, 2012, 10:07:49 AM4/19/12
to chromi...@chromium.org

Comment #6 on issue 119471 by MarkHarw...@gmail.com: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

Possibly related - I had a page that until recently was happily scaling SVG
when zooming but this is now producing pixelated images (under Chrome
18.0.1025).

Pretty sure the app code didn't change so I'm guessing a recent Chrome
update has broken something in this area.

chro...@googlecode.com

unread,
May 4, 2012, 5:15:41 PM5/4/12
to chromi...@chromium.org

Comment #7 on issue 119471 by dan...@schwen.de: scaled SVG images are shown
pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

This still happens in chrome 20. If you scale an SVG image beyond the
height/width that is given in the SVG header , chrome does not rerender,
but just upscales the already rendered SVG into a blurry mess.
I'm fairly sure this is a regression, as I remember this working nicely
about a year ago. It seriously cripples the SVG format.
Is chromium just rendering each SVG once at the size given in the SVG file
and then just scaling the rendered bitmap?

chro...@googlecode.com

unread,
May 4, 2012, 5:23:41 PM5/4/12
to chromi...@chromium.org

Comment #8 on issue 119471 by dan...@schwen.de: scaled SVG images are shown
pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

Ugh, important addendum to my last comment. The scaling behavior is correct
when using the width and height img element attributes and the CSS height
and width attributes. Where it breaks down is the webkit-transform: scale
property. That might be by design...

chro...@googlecode.com

unread,
Aug 8, 2012, 10:41:39 AM8/8/12
to chromi...@chromium.org

Comment #10 on issue 119471 by Victor.S...@gmail.com: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

I confirm that this wrong scaling behavior is true for -webkit-transform:
scale property. I tried transform: scale under Safari and IE9/10 and these
browsers also pixelize svg background.

chro...@googlecode.com

unread,
Oct 18, 2012, 10:23:10 AM10/18/12
to chromi...@chromium.org
Updates:
Owner: fmal...@chromium.org

Comment #11 on issue 119471 by schen...@chromium.org: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

Florin, I think this is a duplicate of the bugs you're looking at. If not,
it's in the same space.

chro...@googlecode.com

unread,
Oct 18, 2012, 10:59:47 AM10/18/12
to chromi...@chromium.org
Updates:
Status: WontFix

Comment #12 on issue 119471 by fmal...@chromium.org: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

This original issue here seems to be fixed (tested with Chrome 22 and
trunk).

For pixelation when using transform/scale, we have a separate issue
(http://code.google.com/p/chromium/issues/detail?id=119693) which should be
addressed by my patch (https://bugs.webkit.org/show_bug.cgi?id=99481).

Closing this one.

chro...@googlecode.com

unread,
Oct 18, 2012, 11:03:19 AM10/18/12
to chromi...@chromium.org

Comment #13 on issue 119471 by fmal...@chromium.org: scaled SVG images are
shown pixelated
http://code.google.com/p/chromium/issues/detail?id=119471

I forgot: https://bugs.webkit.org/show_bug.cgi?id=99481 fixes the problem
for SVG transform/scale. For CSS transforms, there is a separate WK bug:
https://bugs.webkit.org/show_bug.cgi?id=85335

Reply all
Reply to author
Forward
0 new messages