
ulysses31
New User
Feb 6, 2008, 7:17 AM
Post #1 of 4
(3349 views)
|
|
Windows GD module creates corrupt png files
|
Can't Post
|
|
Hi, I'm pulling my hair out trying to find out what I'm doing wrong so any help would be appreciated. I am running WindowsXP and I've installed<span> Perl v5.8.8, built for MSWin32-x86-multi-thread. Binary build 822 [280952] provided by ActiveState. </span> My problem is i want to use the GD::Simple module. I got the GD module for windows from ppm install http://theoryx5.uwinnipeg.ca/ppms/GD.ppd Everything looked fine. I copied an example script from http://search.cpan.org/dist/GD/GD/Simple.pm and did a syntax check and everything was fine. When I run the script all I get is nonsense though. I tried outputting to *.png file instead, but the file is corrupt. I then tried creating a GIF and a JPEG but I have the same problems. This is driving me bonkers. What am I doing wrong here? Any help would be much appreciated.
|