[thelist] detect animated .gif

Jonathan Snook jonathan.snook at gmail.com
Wed Jun 20 22:11:50 CDT 2007


On 6/20/07, Bob Meetin <ontheroad at frii.com> wrote:
> I have some upload scripts that use ImageMagick/convert to resize images
> after uploaded.  Seems that uploading an animated .gif creates
> problems.  Is there a php or unix/linux system command that I can use to
> check the image before attempting to resize?  -Bob

A quick google search for "detect animated gif php" turned up some
code in the PHP manual no less (scroll down to the user comments or do
a search for animated):

http://www.php.net/imagecreatefromgif

-Jonathan



More information about the thelist mailing list