[Tango-artists] Help with batch converting svg icons

Rodney Dawes dobey at novell.com
Wed Mar 28 06:56:50 PDT 2007


On Wed, 2007-03-28 at 14:47 +0200, Mathias Brodala wrote:
> Hello Hylke.
> 
> Hylke Bons, 28.03.2007 13:10:
> >> On Wednesday 28 March 2007 11:34, Mathias Brodala wrote:
> >>> for i in *.svg;do convert -resize 48x48 "$i"
> >>> "../48x48/${i/\.svg$/.png}";done
> >> See attached png for the result...
> > Replace the imagemagick command with the inkscape export command. Don't
> > know the exact command but you can look it up with "inkscape --help".
> 
> Yes, you are right; Inkscape does this a lot better. Thanks for the tip.

Using the "rsvg" command will give you a better idea of what the icons
will actually look like in GTK+/GNOME though, as librsvg is what
provides the SVG rendering there. It's also useful for finding the
discrepancies between rsvg and Inkscape, so we can fix bugs as
appropriate.

-- dobey




More information about the Tango-artists mailing list