SVG rendering with Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis Benzinger

    #1

    SVG rendering with Python

    Hi!

    Does anybody know of a SVG rendering library for Python?

    Bye,
    Dennis
  • richard

    #2
    Re: SVG rendering with Python

    Dennis Benzinger wrote:[color=blue]
    > Does anybody know of a SVG rendering library for Python?[/color]

    Google "python svg"


    Richard

    Comment

    • Andreas Lobinger

      #3
      Re: SVG rendering with Python

      Aloha,

      richard wrote:[color=blue]
      > Dennis Benzinger wrote:[color=green]
      >>Does anybody know of a SVG rendering library for Python?[/color]
      > Google "python svg"[/color]

      .... to find what?

      Whishing a happy day
      LOBI

      Comment

      • Damjan

        #4
        Re: SVG rendering with Python

        Do you want to create a SVG file or display a SVG file?

        SVG files are just XML so maybe you can create them easyly?

        Comment

        • Chris Lambacher

          #5
          Re: SVG rendering with Python

          You might be able to use AGG (anti grain geometry) to do svg to raster image
          conversion. I think there are python bindings for AGG. I know matplotlib
          uses AGG, but not for SVG rendering.

          -Chris
          On Wed, Dec 14, 2005 at 10:59:17PM +0100, Dennis Benzinger wrote:[color=blue]
          > Hi!
          >
          > Does anybody know of a SVG rendering library for Python?
          >
          > Bye,
          > Dennis
          > --
          > http://mail.python.org/mailman/listinfo/python-list[/color]

          Comment

          • richard

            #6
            Re: SVG rendering with Python

            Andreas Lobinger wrote:[color=blue]
            > richard wrote:[color=green]
            >> Dennis Benzinger wrote:[color=darkred]
            >>>Does anybody know of a SVG rendering library for Python?[/color]
            >> Google "python svg"[/color]
            >
            > ... to find what?[/color]

            The answer to the OP's question.


            Richard

            Comment

            • jdh2358@gmail.com

              #7
              Re: SVG rendering with Python

              Matplotlib also has an SVG renderer. Just save the file with an SVG
              extension or choose "SVG" as your default backend in the rc file
              http://matplotlib.sf.net/matplotlibrc.

              Comment

              • Chris Lambacher

                #8
                Re: SVG rendering with Python

                On Fri, Dec 16, 2005 at 01:58:40PM +1100, richard wrote:[color=blue]
                > Andreas Lobinger wrote:[color=green]
                > > richard wrote:[color=darkred]
                > >> Dennis Benzinger wrote:
                > >>>Does anybody know of a SVG rendering library for Python?
                > >> Google "python svg"[/color]
                > >
                > > ... to find what?[/color]
                >
                > The answer to the OP's question.[/color]

                The OP's question is ambiguous. Does he want to render something to SVG? or
                does he want to render an existing SVG file to a raster format. I would guess
                the latter, apparently you think he means the former. Luckily for the OP we
                both posted an answer for what we thought he was asking so he will have an
                answer either way :)
                [color=blue]
                >
                >
                > Richard
                >
                > --
                > http://mail.python.org/mailman/listinfo/python-list[/color]

                Comment

                Working...