GIF images into animated GIF with native PHP class: Generate GIF animations from a set of GIF images

Recommend this page to a friend!
  Info   Screenshots   View files (16)   Download .zip   Reputation   Support forum (63)   Blog    
Ratings Unique User Downloads Download Rankings
62%Total: 17,506 This week: 2All time: 46 This week: 121
Version License Categories
gifmerge 1.0.0FreewareGraphics, Video
Description Author

This class can be used to generate a GIF animation from a set of individual frames in GIF image format.

The class takes as input parameters the list of GIF frame image files, the animation delay between each frame, the horizontal and vertical offset of each frame image.

It combines all image frames and generates a single animated GIF file using only PHP code without using the GD library or other image extensions or external programs .

The animation background may be set to a given color or be made transparent.

Innovation Award
PHP Programming Innovation award nominee
June 2006
Number 5
One of the greatest features of PHP is the integration with the GD library, making possible to dynamically generate images in several formats.

However, PHP GD functions do not implement animated GIF image generation, despite the GD library supports GIF animations since 2004.

This class provides an alternative solution for GIF animations from individual images without using the PHP GD library functions.

Manuel Lemos
Picture of László Zsidi
Name: László Zsidi <contact>
Classes: 13 packages by
Country: Hungary Hungary
Age: 47
All time rank: 351 in Hungary Hungary
Week rank: 135 3 in Hungary Hungary
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  • screenshot.gif
File Role Description
frames (13 files)
example.gif Photo example animated gif
Example.php Example Example
GIFEncoder.class.php Class GIFEncoder class

  Files  /  frames  
File Role Description
   images01.gif Photo frame
   images02.gif Photo frame
   images03.gif Photo frame
   images04.gif Photo frame
   images05.gif Photo frame
   images06.gif Photo frame
   images07.gif Photo frame
   images08.gif Photo frame
   images09.gif Photo frame
   images10.gif Photo frame
   images11.gif Photo frame
   images12.gif Photo frame
   images13.gif Photo frame

 Version Control Reuses Unique User Downloads Download Rankings  
This week:2
All time:46
This week:121
User Ratings User Comments (9)
 All time

For more information send a message to info at phpclasses dot org.