SVG resolution handling broken?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

SVG resolution handling broken?

Post by anthony »

I think the SVG resolution handling has broken.

this should get me three different sized (and background) images

Code: Select all

  convert -density 36                      home.svg  mome_1.gif
  convert              -background skyblue home.svg  home_2.gif
  convert -density 144 -background none    home.svg  home_3.png
now I just get the same size!

home.svg can be downloaded from
http://www.imagemagick.org/Usage/draw/home.svg
(saved from the Icons generator used in an old Fedora linux distribution)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: SVG resolution handling broken?

Post by snibgo »

On IM 6.6.0-8 under Windows 7, I get different sizes: 24x24, 48x48, and 96x96.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SVG resolution handling broken?

Post by magick »

We can reproduce the problem and will have a patch in ImageMagick 6.6.2-1 Beta by sometime tomorrow. Thanks.
Post Reply