Gifsicle is a UNIX command-line tool for creating, editing, and getting information about GIF images and animations. Making a GIF animation with gifsicle is easy
Created attachment 14098 [details] /usr/portage/media-libs/gifsicle/gifsicle-1.38.ebuild
Created attachment 14258 [details, diff] --info output for php eval() patch this is useful patch for php edit animated gif # gifsicle -I 22.gif $gifsicle['filename']='22.gif'; $gifsicle['frames']=15; $gifsicle['width']=125; $gifsicle['height']=125; $gifsicle['loop']=' -l'; $gifsicle['delay']=' -d 16 [conv_filename].000 -d 8 [conv_filename].001 -d 8 [conv_filename].002 -d 8 [conv_filename].003 -d 24 [conv_filename].004 -d 8 [conv_filename].005 -d 8 [conv_filename].006 -d 8 [conv_filename].007 -d 8 [conv_filename].008 -d 8 [conv_filename].009 -d 8 [conv_filename].010 -d 8 [conv_filename].011 -d 8 [conv_filename].012 -d 8 [conv_filename].013 -d 8 [conv_filename].014'; ex) <?php $query = exec('gifsicle -I 22.gif'); eval($query); print_r($gifsicle); ?>
Created attachment 14259 [details] --info output for php eval() patch this is useful patch for php edit animated gif # gifsicle -I 22.gif $gifsicle['filename']='22.gif'; $gifsicle['frames']=15; $gifsicle['width']=125; $gifsicle['height']=125; $gifsicle['loop']=' -l'; $gifsicle['delay']=' -d 16 [conv_filename].000 -d 8 [conv_filename].001 -d 8 [conv_filename].002 -d 8 [conv_filename].003 -d 24 [conv_filename].004 -d 8 [conv_filename].005 -d 8 [conv_filename].006 -d 8 [conv_filename].007 -d 8 [conv_filename].008 -d 8 [conv_filename].009 -d 8 [conv_filename].010 -d 8 [conv_filename].011 -d 8 [conv_filename].012 -d 8 [conv_filename].013 -d 8 [conv_filename].014'; ex) <?php $query = exec('gifsicle -I 22.gif'); eval($query); print_r($gifsicle); ?>
*** Bug 8818 has been marked as a duplicate of this bug. ***
Added gifsicle-1.40 to CVS. I emailed upstream to ask about the patch. I don't know enough about php or gifsicle to make a call one way or another about it. If Eddie likes it he can integrate it into the code himself, if not, it probably shouldn't go in.