PHPでアニメーションGIF
2006年6月のInnovation Award第5位に選ばれたパッケージで、コードの改変をしなければ商用利用も可能だそうです。This class can be used to generate a GIF animation from a set of individual frames in GIF image format.
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.
ダウンロードしたアーカイブに含まれるサンプルコードを見てみましたが、非常に簡単です。
<?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(); ?>
GD拡張モジュールにない機能なので、何かと重宝しそうです。
XML_RSS 0.9.10リリース
11ヶ月ぶりのアップデート・・・止まってましたね〜。それだけ「枯れてる」ということでしょうか。This release is a beta release in preparation for the upcoming stable
release of version 1.0.0.
1.0.0は出るんでしょうか?