in reply to Re: Create an animated gif
in thread Create an animated gif

Ok here's the problem I. The project I'm doing this for doesn't have access to any of those libraries. It has the Tk library wich includes Tk::animation which sounds like it should be able to do what I want but I haven't found any examples. I also have access to the CGI library. Is there a way to create and save gif animations with that?

Replies are listed 'Best First'.
Re^3: Create an animated gif
by zentara (Cardinal) on Nov 13, 2008 at 20:41 UTC
    Are you on Windows? Tk::Animation dosn't have a method to save it's animation. Most installs have ImageMagick, are you sure you don't? There are two ImageMagicks to check for, the PerlMagick module, and the c utilities. Does your system have a command called "convert"? If so, you have it. Otherwise, you will need to download the images to another computer, animate them, then upload them back. If you google for "make gif animations" there are some online sites that will do it, and return them to you.

    I'm not really a human, but I play one on earth Remember How Lucky You Are

      I've never seen Perl on Windows with ImageMagick built in, but if you're using ActiveState's Perl distribution, it's very easy to install: you can get a Windows installer, which automatically detects ActiveState's Perl distribution, and tries to install itself in the appropriate place (you might need to edit the PPM file to make it work, though).

      Won't help if the original poster *can't* install new libraries, though.

        Ok here's the setup I can work with. I have perl 5.6-5.8 at my disposal. I think it's activestate perl. It's on windows. I really want to get this accomplished without having to install additional libraries. Are there any tools in the basic build that I could use to make animated gifs? The gifs don't even have to be that complex. Just a two frame animation would be just fine.
      Yes I am on windows. I'm pretty sure It doesn't have image magick. I did a file search for anything with "magick" in it and it came up with nothing. I don't know if it has a command called convert. I'll have to check. Could it be that there are not files with "magick" in the title but creating gifs would still be possible?
        The ImageMagick utilities have no magic in their names....they are

        animate • compare • composite • conjure • convert • display • identify • import • mogrify • montage • stream

        Look for them.


        I'm not really a human, but I play one on earth Remember How Lucky You Are