[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [school-discuss] Bouncing ideas around:



On 4/7/06, Daniel Howard <dhhoward@xxxxxxxxxxx> wrote:
> snip
>
> but the issue is that the images are in .svg format, which Impress does
> not yet recognize.  Solution currently proposed is to use another
> opensource application like Inkscape:
>
> http://www.inkscape.org/
>
> to convert the .svg files into .png files.  A laborious process, but
> that way, the images are in the public domain, and so the content
> generated using them can also be put in the public domain.

This may be slightly off-topic, but the task you describe here is
easily done with ImageMagick.

http://www.imagemagick.org/script/formats.php

You can type "convert filename.svg filename.png".

If you want to convert a bunch of files:

	for f in ~/pictures_svf/*.svg; do
		f1=`basename $f .svg`
		convert -resize 16x16 $f $f1.png
	done

The other salient point is that SVG is a vector graphics format, while
PNG is a bitmap format, so you'll lose quite a bit of quality if
someone zooms in.

Alex