PHP Classes

Not work

Recommend this page to a friend!

      FXLake effect  >  All threads  >  Not work  >  (Un) Subscribe thread alerts  
Subject:Not work
Summary:Stranger parameters
Messages:4
Author:Samyr Pereira
Date:2009-02-06 10:07:07
Update:2009-02-09 04:34:32
 

  1. Not work   Reply   Report abuse  
Picture of Samyr Pereira 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

  2. Re: Not work   Reply   Report abuse  
Picture of László Zsidi 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" );

  3. Re: Not work   Reply   Report abuse  
Picture of Samyr Pereira Samyr Pereira - 2009-02-08 22:37:44 - In reply to message 2 from László Zsidi
Thank you my friend

  4. Re: Not work   Reply   Report abuse  
Picture of László Zsidi 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ó