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 JPEG saving support), but not in the Tk backend that > most of our users use. > > 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 pretty easy. > > While adding a hard dependency on PIL is probably not a good idea, are > there any objections to making it a soft dependency?
None here, especially when the alternative is writing our own bindings to the jpeg library. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel