Last modified: 2010-05-15 16:03:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15885, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13885 - SVGs rendering topping out at 1024px wide
SVGs rendering topping out at 1024px wide
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Image:Go...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-30 01:07 UTC by Stephen Shep
Modified: 2010-05-15 16:03 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Stephen Shep 2008-04-30 01:07:18 UTC
On the English Wikipedia SVGs are redering in a more rasterized state than usual, this results in blocky images instead of smooth SVGs.
Comment 1 Brion Vibber 2008-04-30 18:46:11 UTC
Please be as specific as possible, including an example of a page with an image displaying incorrectly.

(Note that you may be using a browser with a 'full-page zoom' feature and have accidentally zoomed in the page, which will scale up all images and make them appear blocky.)
Comment 2 Stephen Shep 2008-04-30 19:45:51 UTC
I'm using IE7 and have it set to the defaults just to make sure it's not me.  Look at Image:Burma Flag.svg and Image:Government Ensign of the United Kingdom.svg .  They both look great in Inkscape, but the white lines ar jagged correct?  I tested on another computer (Linux) and it looked the same on Firefox something-or-other.
Comment 3 Brion Vibber 2008-04-30 20:08:11 UTC
Are your thumbnail preferences set at 1280px or higher?

There seems to be something a bit wonky that's topping out the rasterization at 1024 pixels here, which bears investigation.
Comment 4 Brion Vibber 2008-04-30 20:30:16 UTC
That's probably thanks to this default setting...

/** Don't scale a SVG larger than this */
$wgSVGMaxSize = 1024;

Probably a bit low for a default, given that the standard options array for Image: onscreen display includes a 1280px-wide option. :)

I've pushed the limit up to 2048 both live and in r34061

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links