in reply to Manipulating Graphics with Perl .. Image Magick Vs GD
Pick up the book "Programming Web Graphics with Perl & GNU Software" by Shawn P. Wallace. It's a O'Reilly book which deals with just that topic and uses both + other libraries/approaches. It does cover gif, even animated gif.
Chris
In Section
Seekers of Perl Wisdom