broken PNG files with GD backend

Now on to my specific problem. I'm using the GD

    > backend on Windows with Matplotlib 0.41.

First things first -- I haven't succeeded in getting the gd backend
compiled on windows. If you have some expertise here and are willing
to share, or better yet build a gdmodule and gd installer that I can
put on the website, I would be very much obliged! I contacted the
gdmodule maintainer some time ago over this issue and he had never
built it on windows either. In my googling, I discovered the perl gd
module for windows and following their lead, succeeded in building gd
lib, but ran into some troubles (can't remember what) building
gdmodule.

    > 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.

Now on to your problem. Is there a typo here? You say over 60 is
empty and under 65 is ok ?? Can you send me a script which replicates
the problem, with the two calls to savefig, one which has the problem
and which does not. Then I can begin to diagnose the problem; see if
it occurs under linux, see if it's a gd problem, see if it's a problem
on my end, etc....

Are you using matplotlib + GD for a web app server?

John Hunter