Last modified: 2014-05-22 18:09:14 UTC
Sundance_Raphael reports that natural size SVG thumbnails for a certain image appear cropped, when rendered with Inkscape or ImageMagick. This was apparently a regression from 1.9 to 1.10. The source image is: http://commons.wikimedia.org/wiki/Image:Chlamydomonas.svg It works fine on commons, so the issue probably does not affect librsvg. There are screenshots are at: http://test.wikipedia.org/wiki/User:Sundance_Raphael By natural size, I mean that no width was specified in the image link.
thumbs with a size ending on zero (180px.. ) are ok, if the last numer is between 1-9 no thumb is generated
correction only the thumbs with a size off 200px, 300px were shown and the size of 177px (orginal size) would shown misformt
ImageMagick is the problem. It can show thumbs and svg right with was generated from Inscape in the MW, but it is not able to reader the .svg right in .png .
Assigning SVG bugs to Ariel -- need a cleanup pass to see what's fixed up by a librsvg upgrade, what can be resolved with fixes to our font configuration, what can be fixed on our end, and what still needs to be pushed upstream.
issue still exists with ImageMagick 6.6.4-0 2010-09-29 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC Features: OpenMP It also takes imagemagick rather long to render the SVG, so it's probably running into some kind of error situation.
giving SVG bugs back to the pool.
> issue still exists with ImageMagick 6.6.4-0 2010-09-29 Q16 How to test this exactly?
(In reply to comment #0) > There are screenshots are at: > http://test.wikipedia.org/wiki/User:Sundance_Raphael Not anymore. :( Note that servers reserved an upgrade to Ubuntu 12.04 recently, so testing (or providing instructions how to test) is welcome.
Download http://commons.wikimedia.org/wiki/Image:Chlamydomonas.svg and render with your Mediawiki + ImageMagick (default if there is no rsvg) to convert the svg to png. (Note that Wikimedia uses librsvg for PNG rendering of SVG and not ImageMagick). I still see this issue with 6.8.0-2 version of ImageMagick on my machine. I'm not really sure if this is an ImageMagick bug, or if we are just not using ImageMagick correctly.
Created attachment 11267 [details] example of IM rendering of file in question.
(In reply to Derk-Jan Hartman from comment #9) > Download http://commons.wikimedia.org/wiki/Image:Chlamydomonas.svg and > render with your Mediawiki + ImageMagick (default if there is no rsvg) to > convert the svg to png. (Note that Wikimedia uses librsvg for PNG rendering > of SVG and not ImageMagick). > > I still see this issue with 6.8.0-2 version of ImageMagick on my machine. > I'm not really sure if this is an ImageMagick bug, or if we are just not > using ImageMagick correctly. Seems to work for me on ImageMagick 6.6.0-4 2010-11-16 Q16 for me, but I think my image magick may have been compiled to use rsvg instead of the internal thing.