From: Daniel Berger Date: 2006-11-16T00:45:06+09:00 Subject: Re: Converting SVG files to images Kouhei Sutou wrote: > Hi, > > In <455B2538.9080508@gmail.com> > "Converting SVG files to images" on Wed, 15 Nov 2006 23:33:34 +0900, > Daniel Berger wrote: > > > I was just playing with the Ruby svg-graph library, and it seems to work > > well. > > > > I was wondering what tools people use to convert svg files into images? > > Or is there a way to convert the generated file into an image using > > svg-graph itself? Let's assume my users don't have a plugin to view svg > > files directly in a web browser. > > http://ruby-gnome2.cvs.sourceforge.net/ruby-gnome2/ruby-gnome2/rsvg/sample/svg2.rb?revision=HEAD&view=markup > > You can generate many file types (PNG, JPEG, GIF and so on) > if you have Ruby/RSVG and Ruby/GdkPixbuf2. > > You can also generate PS, PDF, SVG and display your GTK+ > widget if you also have rcairo. Thanks Kou, looks interesting. I couldn't get cairo to build on my Solaris box, though - I think the configure script is borked. But, as long as I can convert to png or jpg, all is well. :) Regards, Dan