[Tango-artists] 128x128 automatic generation

Jakub Steiner jimmac at novell.com
Thu Nov 17 18:34:27 PST 2005


On Thu, 2005-11-17 at 23:31 +0100, izo.spip wrote:
> hello,
> 
> i am on mac os x and ubuntu. I want to use tango icon on tiger . IT  
> is possible to use a script to generate 128x128 png frome the svg  
> files ?

Howdy.
you can either use rsvg or inkscape to generate pngs. As inkscape is
packaged directly for the mac, I'd take that solution as the most
straigh-forward. To create a single png:

inkscape -e icon.png -w 128 -h 128 icon.svg

to convert a bunch of files, you can

for file in *svg; do inkscape -e \
`basename $file .svg`.png -w 128 -h 128 $file;  done

cheers

-- 
Jakub Steiner <jimmac at novell.com>
Novell, Inc.



More information about the Tango-artists mailing list