- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
TITLE:GIF89a Overlap for PHP
CENTER:''GIF98a Overlap PHP extension''
RIGHT:(c) 2008/09/18- yoya@awm.jp
#contents
[[GifOverlap]] の PHP extension
* spec [#spec]
** API [#api]
class GIFOverlap {
function add($gif_data); return true/false
function output(); return $gif_data
}
** usage [#usage]
new $go = new GIFOverlap();
$go->add(get_file_contents('background.gif'));
$go->add(get_file_contents('avatar.gif'));
$go->add(get_file_contents('item.gif'));
echo $go->output;
* SF.NET [#sf]
** registration [#sf-reg]
giflib/util/gifovly.c inspired me.
gifovly.c is based begore GIF89 spec,
no transparent, no animation.
I think so good extend gifovlay.c
to include GIF89a function,
, mofidy overlay to overlap routine,
and provide php extension make us happy.
ex)
new $go = new GIFOverlap();
$go->add(get_file_contents('background.gif'));
$go->add(get_file_contents('avatar.gif'));
$go->add(get_file_contents('item.gif'));
echo $go->output(); // item.gif overlap avatar.gif overlap background.gif
My poor english, But I beleave heartful communication.
* relative [#rel]
- [[GifOverlap]]