Re: [matplotlib-devel] Adding more image format support...

2010-07-07 Thread Friedrich Romstedt
2010/7/6 Michael Droettboom md...@stsci.edu: One solution to this may be to add an optional dependency on PIL, and if found save JPEG files (and maybe some of the other esoteric formats PIL supports).  The work done a couple of years back to manage the supported file types should make this

Re: [matplotlib-devel] Adding more image format support...

2010-07-07 Thread Michael Droettboom
Thanks for the offer. In the meantime, I committed something myself for this. (I should have written back to the list, sorry...) I'd still be interested in seeing your patch in case there's something extra or better in it that mine doesn't do. Mike On 07/07/2010 02:43 PM, Friedrich Romstedt

Re: [matplotlib-devel] Adding more image format support...

2010-07-07 Thread Friedrich Romstedt
2010/7/7 Michael Droettboom md...@stsci.edu: Thanks for the offer.  In the meantime, I committed something myself for this.  (I should have written back to the list, sorry...) I'd still be interested in seeing your patch in case there's something extra or better in it that mine doesn't do.

[matplotlib-devel] Adding more image format support...

2010-07-06 Thread Michael Droettboom
We've had some requests from internal users here at STScI to make it easier to save JPEG files directly from matplotlib. We currently support JPEG saving from the Gtk* and Wx* backends (because those libraries come with JPEG saving support), but not in the Tk backend that most of our users

Re: [matplotlib-devel] Adding more image format support...

2010-07-06 Thread Ryan May
On Tue, Jul 6, 2010 at 2:07 PM, Michael Droettboom md...@stsci.edu wrote: We've had some requests from internal users here at STScI to make it easier to save JPEG files directly from matplotlib.  We currently support JPEG saving from the Gtk* and Wx* backends (because those libraries come with

Re: [matplotlib-devel] Adding more image format support...

2010-07-06 Thread John Hunter
On Tue, Jul 6, 2010 at 2:07 PM, Michael Droettboom md...@stsci.edu wrote: We've had some requests from internal users here at STScI to make it easier to save JPEG files directly from matplotlib.  We currently support JPEG saving from the Gtk* and Wx* backends (because those libraries come with