Page 1 of 1

Scale an SVG as a vector graphics program would

Posted: 2011-01-28T10:28:15-07:00
by dragoncat
I want to scale an SVG file/object. In Inkscape, this would be done by clicking on the object, choosing object-->transform-->scale-->preserve ratio-->(enter scale) then file-->properties-->resize canvas to fit object. As you can see, that's a lot of work for an operation that should be really simple. But typing

convert -scale 300% image.svg image2.svg

while it seems to work, simply creates a maniacal monster that threatens to blow up my computer.

In short, the file fails to open at all in anything I have yet tried. It's no innocent SVG, by the looks of it.

Re: Scale an SVG as a vector graphics program would

Posted: 2011-01-28T14:27:04-07:00
by fmw42
svg format is vector and probably controlled more by -density than -scale

see http://www.imagemagick.org/Usage/formats/#vector