Last modified: 2006-02-06 21:43:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4813 - Reuploaded SVG gets rendered with wrong aspect ratio
Reuploaded SVG gets rendered with wrong aspect ratio
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.6.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Image:Co...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-31 21:19 UTC by Daniel Schwen
Modified: 2006-02-06 21:43 UTC (History)
0 users

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


Attachments

Description Daniel Schwen 2006-01-31 21:19:49 UTC
I created a 1194x1534 px SVG image using inkscape and uploaded it (see 
URL). Unsatisfied with the result I modified the image, also enlarging 
the canvas in x-direction to 1260x1534, and reuploaded. The new 
serverside rendered bitmap is clipped and has a wrong aspect ratio. The 
SVG version renders fine in my browser (Konqueror). 
 
The MediaWiki in question is the one used on en.wikipedia.org (1.6alpha).
Comment 1 Brion Vibber 2006-02-01 00:27:51 UTC
The image claims to be 1260.1801 x 1533.65 pixels, and is rendered there to 492x599. 
This ratio appears to be consistent.
Comment 2 Daniel Schwen 2006-02-01 07:09:53 UTC
But the content of the image is rendered too wide and thus cut at the sides. The 
center dot is eliptical while it shouldn't be (see 
http://upload.wikimedia.org/wikipedia/en/2/23/Commons-logo-Anaglyph.svg). 
Comment 3 Daniel Schwen 2006-02-06 21:43:45 UTC
It seems that the reason for the aforementioned behaviour were some 
sodipodi/inkscape tags in the sgv file, which caused the file to render 
correctly in inkscape and ksvg, but had rsvg render the picture with a wrong 
aspect ratio causing clipping at the sides. My guess: it was a toplevel 
"transform" attribute. I removed it by hand and reuploaded. Works fine now. 

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


Navigation
Links