Last modified: 2014-04-29 16:01:51 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 T18416, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16416 - SVG rendering maximum should base on area, not largest size?
SVG rendering maximum should base on area, not largest size?
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
: 41373 (view as bug list)
Depends on:
Blocks: 41371
  Show dependency treegraph
 
Reported: 2008-11-21 22:34 UTC by Brion Vibber
Modified: 2014-04-29 16:01 UTC (History)
7 users (show)

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


Attachments

Description Brion Vibber 2008-11-21 22:34:45 UTC
A version of [[Reference_ranges_for_blood_tests]] attempted to replace a PNG of a large panoramic graph (4436x400 pixels) with an SVG -- [[Image:Reference_ranges_for_blood_tests_-_by_mass.svg]].

In theory, this should look nice... but our SVG rasterization limit of 2048x2048 hits it, so it gets rendered to 2048x185 and scaled up in-browser... which looks terrible. :)

http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/Reference_ranges_for_blood_tests_-_by_mass.svg/2048px-Reference_ranges_for_blood_tests_-_by_mass.svg.png

We don't want to render things super-huge, but for panoramic-style images, it shouldn't be terribly expensive. The limit should probably be changed to work on area, like our existing restrictions on PNG resizing.
Comment 1 Derk-Jan Hartman 2014-04-29 15:22:55 UTC
*** Bug 41373 has been marked as a duplicate of this bug. ***
Comment 2 Derk-Jan Hartman 2014-04-29 15:27:20 UTC
This is a bug I think, not an enhancement. Just common sense and what it should be. The related ticket shows another extreme case that tripped this. These files are out there.

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


Navigation
Links