Animated GIF Slides via ImageMagick Primer Tutorial

Animated GIF Slides via ImageMagick Primer Tutorial

Animated GIF Slides via ImageMagick Primer Tutorial

Animated GIFs are a means to store a slideshow or visual performance of some kind, that consists of several photograph stills, into the one image GIF file, which displays as an animation.

The last time we talked about Animated GIFs at this blog we wrote a web application to construct Animated GIFs from its constituent parts, when we presented Animated GIF via PHP Writing PHP Primer Tutorial as shown below.

If you guessed that today, instead, we were going to “take a walk in the Black Forest” or “catch an Ordon Catfish in a fish hole” … well, no … but … yes … well.

Today, we are going to use the PHP ImageMagick class (as we did yesterday with ImageMagick and Three Ps Affine Transformation Tutorial) to deconstruct an Animated GIF to show you its constituent photograph still parts, presented in one row of table cell elements, any/all of which you could right click and use a “Save Image As” option on your web browser to download these images, as necessary.

ImageMagick knows no bounds, and we continue to find good uses for it, though if you expect it to make you breakfast in bed before you ordered it, or even know that you wanted it, please think again would recommend the eggs benedict.

Two websites spring to my mind when you talk about Animated GIFs …

  • Tumblr … which uses them a lot man person
  • Gifpal … which helps you to construct your own man person

We have PHP serverside code to show you today with animated_gif_slides.php and we have a live run link too. And yes.


Previous relevant Animated GIF via PHP Writing PHP Primer Tutorial is shown below.

Animated GIF via PHP Writing PHP Primer Tutorial

Animated GIF via PHP Writing PHP Primer Tutorial

We find another very useful reason for PHP to write PHP. Today we establish a PHP web application to dynamically create Animated GIF images via some still images, like Gifpal would do.

We have some great open source PHP code to thank for the basis of the functionality we found at Jeroen van Wissen’s very useful link, thanks.

Then we added a more user friendly interface to get the information off the user we need. We present this in an HTML form, which navigates to the same PHP to do the actual assembly of the Animated GIF via techniques where PHP writes PHP … and really needs to, to be useful.

Do you remember, last, when we did some PHP writing PHP functionality … PHP Writes PHP Vertical TextBoxes Primer Tutorial?

And inside the PHP it makes big use of the GD and Image Functions to read and write the image data we assemble via the user information.

This Animated GIF form of animation is the easiest to implement, as it consists of just the one GIF image file, but the user has very little control over the animation settings, such as the delay between stills, one of the settings we ask about in our web application.

Our PHP source code today you could call tutorial_to_animated_gif.php and we redirect you to some live run ideas …

  • normal run with HTML form which posts back to itself … live run
  • example GET parameters run (like our tutorial picture)

Hope you find this tutorial useful.

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in Animation, eLearning, Photography, Tutorials and tagged , , , , , , . Bookmark the permalink.

7 Responses to Animated GIF Slides via ImageMagick Primer Tutorial

  1. i like it jobs simply because it really is a high paying job and also you operate in an air conditioned office”

  2. Thank you for the sensible critique. Me & my neighbor were just preparing to do some research on this. We got a grab a book from our area library but I think I learned more from this post. I am very glad to see such great information being shared freely out there.

  3. I genuinely enjoy your web site, but IÒ€ℒm having a dilemma: any time I load one of your post in Firefox, the center with the web page is screwed up – which is bizarre. May possibly I send you a screenshot? In any event, keep up the superior function; I undoubtedly like reading you.

  4. My spouse and i felt absolutely contented Ervin managed to carry out his studies because of the precious recommendations he gained from your site. It’s not at all simplistic to just continually be offering things that people have been selling. And we also do know we have got you to thank for that. Those illustrations you have made, the simple site navigation, the friendships you make it easier to engender – it’s most fantastic, and it is helping our son in addition to our family recognize that the issue is satisfying, and that is seriously mandatory. Thank you for the whole thing!

  5. tech says:

    Great website. Lots of helpful information here. I‘¦m sending it to several friends ans additionally sharing in delicious. And naturally, thanks to your sweat!

  6. Great article and straight to the point. I don’t know if this is really the best place to ask but do you folks have any thoughts on where to employ some professional writers? Thx :)

  7. WOW just what I was searching for. Came heere by searching for
    animated gif

Leave a Reply to Darrin Copelan Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>