php-gif - скрипт создания gif-ок
// Caching disable headers
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
// Output as a GIF image
header ('Content-type:image/gif');
// Include the GIFGenerator class
include('GIFGenerator.class.php');
// Initialize a new GIFGenerator object
$gif = new GIFGenerator();
// Create a multidimensional array with all the image frames
$imageFrames = array(
'repeat' => false,
'frames' => array(
array(
'image' => './images/newyear.jpg',
'text' => array(
array(
'text' => 'Hello GIF frame 1',
'font-color' => '#000',
'x-position' => 140,
'y-position' => 138
)
),
'delay' => 100
),
)
);
echo $gif->generate($imageFrames);
https://github.com/ErikvdVen/php-gif