Sybio Sybio - 6 months ago 61
PHP Question

How to extract frames of an animated GIF with PHP

I search for a long time how to extract frames from an animated GIF with PHP... unfortunaly I just found how to get their duration...

I really need to extract the GIF frames and their duration to apply some resize, rotate, etc, on each and then to regenerate the GIF with edited frames !

I don't want to use any software, external library (like ImageMagick), just PHP: in fact I need to allow my class to work with animated GIF.

If you have any idea, I'm listening you ^^ !


I spent my day creating a class based on this one to achieve what I wanted using only PHP!

You can find it here:

Thanks for your answers!