Cairo does do it to files, but -- that's from your source.  That's for if
you draw something with python and then want to save it to an svg.  It
doesn't take something that's already an svg and convert it or display it.
PIL will let me take advantage of all kind of graphical formats, but not any
that are vector, to my knowledge.  I want to take advantage of the vector,
if possible :D!

On 6/26/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote:

Johnny Jelinek wrote:
> how would I go about rendering an .svg to another file before showing
> it on screen?  Could you point me to some resources or
examples?  Thanks!
You just mentioned that Cairo renders svgs to a file, didn't you?
So can you just use pyCairo?
Google would tell you of other python modules that can render svg files.
I don't have any resources for doing this, I just assumed since you
mentioned Cairo could do it that you knew
how to use Cairo to do it.
-Luke

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to