rsvg

How to install python-rsvg without python-gnome2-desktop on Ubuntu 8.10?

I need rsvg support in Python 2.5.2. It appears that I have to install all 199 deps along with the package python-gnome2-desktop, which doesn't sound fun at all. Alternatives? ...

How do you convert an SVG image "paths" into separate PNG images?

Hi there, I've got an SVG image with 67 separate paths. Are there any libraries/tutorials out there that will create a separate raster image such as a PNG for each of those paths, and perhaps name them according to the path id? ...

How to convert large SVG file to tiled PNGs?

I have a large SVG file (approx. 60 MB, 10000x10000 pixels but with the potential to get much larger), and I'm wanting to create, say, many tiled 256x256 PNG images from it (in that example there would be 1600 images; round(10000/256)^2). Does anyone have any idea of how to do this on a web server (running PHP amongst other things)? I ...

Get the coords and height/width of a svg group into python

Hi I want to load the groups of a svg-file into several gtk pixbuffs/subpixbufs therefore I need the coordinates and width and height of them I'm currently just using rsvg and gtk is it possible to get those information with that modules ? Or do I need another module to read out that data from the svg-file? thanks alot ...

Is it possible to cut away transparent areas of Gtk-pixbuf ?

Hi, I am currently using rsvg in Python to separate Svggroups. I got it working so that rsvg loads a single group ... alas all the transparent space around that still remains. Is there a gtk functionallity to cut away all this space? Thanks for all the answers! ...

SVG interaction in python with cairo, opengl and rsvg

Hi, I render a huge SVG file with a lot of elements with Cairo, OpenGL and rsvg. I draw svg on cairo surface via rsvg and create an OpenGL texture to draw it. Everything is fine. And now I have to interact with elements from SVG. For example, I want to guess an element by coordinates. And I want to change the background of some path in S...

scaling svg figure

I tried to resize svg file to be opened in illustrator with smaller width and height(pixels or cm), I did this by changing width, height and veiwbox attributes in tag, but it doesn't work at all.By search I have found that transform attribute via matrix value affects the real resizing of the figure,any ideas about ready made functions o...