http://www.perlmonks.org?node_id=1067455


in reply to GD::Image::Animated gif.

This is the example more or less directly from GD::Image::AnimatedGif. However, this is for a CGI environment. If that is not what you want, first step should be to change output to a file, of course, without the Content-Type specification, and binmode is needed, anyway, at least in my environment (Strawberry 5.16.2 on Windows 7)

Replies are listed 'Best First'.
Re^2: GD::Image::Animated gif.
by Anonymous Monk on Dec 17, 2013 at 11:52 UTC

    You are right, I dropped the Content-Type print statement and now it works. Thank you.