PHP Classes

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 Screenshots   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum (63)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 17,828 This week: 1All time: 46 This week: 96Down
Version License Categories
gifmerge 1.0.0FreewareGraphics, Video


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: 50
All time rank: 331 in Hungary Hungary
Week rank: 50 Down2 in Hungary Hungary Down
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  • screenshot.gif
  Files folder image Files  
File Role Description
Files folder imageframes (13 files)
Image file example.gif Photo example animated gif
Plain text file Example.php Example Example
Plain text file GIFEncoder.class.php Class GIFEncoder class

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

 Version Control Reuses Unique User Downloads Download Rankings  
This week:1
All time:46
This week:96Down
User Ratings User Comments (9)
 All time