broken PNG files with GD backend

Hi,

First
off, a very nice piece of software, thanks for creating it.

Now
on to my specific problem. I’m using the GD backend on Windows with
Matplotlib 0.41. If I set the dpi to over 60 the png file that gets
generated is ‘empty’, it’s only 17 bytes long. As soon
as I drop he DPI to below 65 or so, I get the image file correctly. This
is with the simple_plot.py example.

Any
help would be appreciated.

thanks,

Stefan

···