0

I'm writing a PHP script to take several images and compile them together into a GIF. Searching for resources on this subject, I have encountered several PHP specific ways to do this, such as ImageMagik or GifCreator but the resources I encounter, including on here, seem rather old. GifCreator hasn't been updated in 3 years, and I find that it fails to resize certain compressed gifs.

In the last several years, GIF and gif creation sites have exploded in popularity, and I can't imagine these methods from 2009 are still the most efficient way of going about this task.

What is the most efficient (stable, resource efficient) and modern way to create GIFs from a collection of images along with resizing GIFs with PHP? Are there better libraries available or is PHP not a good choice for this task?

Community
  • 1
  • 1
true
  • 221
  • 1
  • 8
  • 1
    sorry. just realized you want to combine them. for combining multiple images, personally, I would use ffmpeg. There is a module available for php. after making the mpeg/etc, then convert that into a gif, which you can also use ffmpeg to do (eg : http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html ) – Kraang Prime Jun 20 '15 at 04:38
  • It is quite unclear to me what you want to achieve. Are you starting with JPEGs? Or animated GIFs? Or something else? You say you want to make GIFs from images - but GIFs are images. Maybe you can give an example? – Mark Setchell Jun 20 '15 at 06:47

0 Answers0