Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looping at the end #7

Open
jessipeachy opened this issue Jul 20, 2015 · 2 comments
Open

Looping at the end #7

jessipeachy opened this issue Jul 20, 2015 · 2 comments

Comments

@jessipeachy
Copy link

At the end of the countdown, it loops back once. Is there a way to keep it from looping?

@heckle-jeckle
Copy link

I'v got the same problem . Have you find a solution ?

@MatheusR42
Copy link

MatheusR42 commented Jan 28, 2017

I have discover the solution. The loops are set by this line on GIFEncoder.class:

$this->image .= "!\377\13NETSCAPE2.0\3\1" . $this->word($this->number_of_loops) . "\0";

If you want to remove loops only delete this line.

I also made a pull request

I just change the behavior of the var loop, now if you set to false the header that make the loops will not be add to the gif. You can also put 0 to inifinite loops or any other number to run some loops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants