From: Werner Smekal <smekal@ia...> - 2006-11-03 13:27:25
I fixed the problem with the gd driver on windows, the file io is now
not handled by the gd library - instead the driver only gets a pointer
to the image data from the gd library and writes it to the file itself.
Such problems occurs if both libraries are compiled with different c
libs, which is the case here. Compiling the gd library on our own is not
really an option, since too complicated.
Since this change should also work fine on Linux (don't see any
problems), I didn't put an #ifdef/#endif clause around it. I tested this
change for Visual C++ 2005 for gif/png/jpeg and all worked well.
So we can tick this driver off for windows as well for all compilers.
Dipl. Ing. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
phone: +43-(0)1-58801-13463 (office)