![Picture of Lewie Dekker Picture of Lewie Dekker](/graphics/unknown.gif)
Lewie Dekker - 2009-05-22 03:31:11
The package description states "The class takes as input parameters the list of GIF frame image files, the animation delay between each frame, the horizontal and vertical offset of each frame image."
This apparently was a feature in the old version of GifMerge, where the class was called GifMerge.class.php. With the change to GIFEncoder.class.php this feature appears to have been dropped.
One (apparently) used to do something like:
<?php
header('Content-type: image/gif');
require('GifMerge.class.php');
$i = array("frame01.gif","frame02.gif","frame03.gif", ...);
$d = array(10, 10, 10, ...);
$x = array(0, 0, 0, ...);
$y = array(0, 0, 0, ...);
$anim = new GifMerge($i, 255, 255, 255, 0, $d, $x, $y, 'C_FILE');
echo $anim->getAnimation();
?>
If x/y offset is still working, can someone please show the format of the input params?
Alternatively, if anyone has the original version of GifMerge.class.php, I'd be most interested to receive a copy and try to put it back into the GIFEncoder.class