|
Samyr Pereira - 2009-02-06 10:07:07
Hi, thanks for your great job.
A problem with parameters number.
Why?
GIFEncoder($frames,$framed,0,2, 0, 0, 0,"bin"); = 8
function GIFEncoder($GIF_src, $GIF_dly, $GIF_lop, $GIF_dis,$GIF_red, $GIF_grn, $GIF_blu, $GIF_ofs,$GIF_mod) = 9 ?????
thanks
László Zsidi - 2009-02-06 12:53:35 - In reply to message 1 from Samyr Pereira
Hi,
My some example uses older GIFEncoder versions, the last version of GIFEncoder you can find on http://phpclasses.gifs.hu site.
The difference both older and the new GIFEncoder class is the offsets array parameter.
old: function GIFEncoder($GIF_src, $GIF_dly, $GIF_lop, $GIF_dis,$GIF_red, $GIF_grn, $GIF_blu, $GIF_mod)
new: function GIFEncoder($GIF_src, $GIF_dly, $GIF_lop, $GIF_dis,$GIF_red, $GIF_grn, $GIF_blu, $GIF_ofs, $GIF_mod)
$GIF_ofs is an array for XY offsets, if this parameter do not use then add a "NULL" value for it.
$gif = GIFEncoder ( $frames, $framed, 0, 2, 0, 0, 0, NULL, "bin" );
Samyr Pereira - 2009-02-08 22:37:44 - In reply to message 2 from László Zsidi
Thank you my friend
László Zsidi - 2009-02-09 04:34:32 - In reply to message 3 from Samyr Pereira
Welcome my friend:)
I you have any question or problem, please write to me.
Have a nice day:)
László
|