saving image files with *Agg backends

Hi Everyone,

I'm having trouble saving plot images with the *Agg backends. I've tried TkAgg, GTKAgg, WXAgg, and get the following error message (here for WXAgg):

Do not know how to handle extension *.jpg
14:48:54 Debug e:\Projects\wx2.4\src\msw\app.cpp(439): 'UnregisterClass(canvas)' failed with error 0x00000584 (class still has open windows)

WX and GTK backends work. I'm using the precompiled 0.60.2 version of Matplotlib (congratulations on the new release), python 2.3.4, windows XP. I'm calling my program from a DOS prompt to get the error messages, working in non-interactive mode and trying to save the image using the save-button widget.

Any suggestions?

Thanks,
Darren

···

--
Darren S. Dale
dd55@...163...

PGP public key available

I see the same problem under Fedora Core 1. If one doesn't specify an
extension, the saved image is of type PNG, which is fine. But
specifying a .jpg extension to get a JPEG doesn't work with the Agg
backends.

···

On Fri, 2004-07-16 at 12:04, Darren Dale wrote:

Hi Everyone,

I'm having trouble saving plot images with the *Agg backends. I've tried
TkAgg, GTKAgg, WXAgg, and get the following error message (here for WXAgg):

Do not know how to handle extension *.jpg