Due to licencing restrictions gif support was removed from GD after version 1.19.
The last version of GD to support gif creation was GD-1.19: http://stein.cshl.org/WWW/software/GD/old/GD-1.19.tar.gz "Carlos S. Moreno" wrote: > if ($gd->can("gif")) shouldn't this first test be > { > print "Writing PNG file\n"; > open(GD, ">test1.png") or die $!; > binmode GD; > print GD $gd->png; > } > > if ($gd->can("gif")) Just because a method exists doesn't mean it will do something useful. Look at the source to GD.pm: sub GD::gif { croak("GIF support has been disabled for legal reasons. Use PNG or JPEG output"); } Your script should have died with the above error after calling $gd->gif. -- Simon Oliver _______________________________________________ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users