note 54419 added to function.imagegif

From: Date: Mon, 04 Jul 2005 00:17:46 +0000
Subject: note 54419 added to function.imagegif
Groups: php.notes 
Request: Send a blank email to php-notes+get-91382@lists.php.net to get a copy of this message
Simple animated-gif hack (requires ImageMagick): <html><body> <?php $icount=0; for($count=0;$count<40;$count++) { $im=imagecreate(200,200); imagecolorallocate($im,0,0,255); $white=imagecolorallocate($im,255,255,255); imagerectangle($im,$count,$count,200-$count,200-$count,$white); $icount++; $tcount=sprintf("%04d",$icount); imagegif($im,"/tmp/test-$tcount.gif"); imagedestroy($im); } exec("/usr/bin/convert -delay 2 -loop 10 /tmp/test*.gif /var/www/html/Tests/Test-Anim.gif"); ?> <img src="/Tests/Test-Anim.gif"> </body> </html> ---- Manual Page -- http://www.php.net/manual/en/function.imagegif.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54419 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54419&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54419&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54419&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54419&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54419&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54419&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54419&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91382) next »