>>>>> "Rob" == Rob Marino <[EMAIL PROTECTED]> writes:

    Rob> Hello John.  Thanks for your reply.

    Rob> I simply need the *NAME *of th*e module/class *which handles
    Rob> this and can it accept input of a file in bmp/jpg format.

    Rob> This is not apparent from the docs,or at least not the
    Rob> version of the docs I'm reading.

    Rob> If you or someone could give me the *module/class * name it
    Rob> would be appreciated.

OK, you said you were using matplotlib to create a graph.  Suppose you
have a matplotlib.figure.Figure instance named fig.  You can create an
SVG file by calling

  fig.savefig('somefile.svg')

matplotlib does not have specific functionality to *convert* jpg or
bmp to svg, but it you are creating the graph in matplotlib this
shouldn't be a problem because you can output to SVG.

If you do indeed need to convert, as others said, you may want to take
a look at the PIL docs or ask on the PIL mailing list.

JDH
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to