Artoonix Home Artoonix Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Number of iterations problem in gif

 
Post new topic   Reply to topic    Artoonix Forum Index -> Artoonix Bug Squasher
View previous topic :: View next topic  
Author Message
udi



Joined: 03 Jun 2007
Posts: 3

PostPosted: Mon Mar 02, 2009 12:32 pm    Post subject: Number of iterations problem in gif Reply with quote

There is no way to make a gif animation with one-pass only.

That's it: if I set the loop to be 0 it makes infinit loops, OK.
If I set the loop counter to be 1 it makes one loop. But one
loop is two passess. So, I can't do only one pass.

Artoonix showld counnts the number of iterations -not-
number of loops!

Bye,
Udi
Back to top
View user's profile Send private message
youri
Site Admin


Joined: 12 Feb 2006
Posts: 296

PostPosted: Tue Mar 03, 2009 11:55 pm    Post subject: Reply with quote

Hi, Udi,
not sure what you mean exactly - there are some extensions to the GIF format that specify "loop", "iterations", "repeat" properties. As far as I know if loop is set to 1 it should ignore iterations/repeat flags and repeat endlessly (default in most GIF interpreters like web browsers); if loop is set to 0, then the iterations/repeat flags will determine how many times it will play (again, this behaviour depends on the interpreter, not all of them understand these flags - like MS powerpoint, for instance). If there is no flags set, default behaviour is assumed, I guess - which probably means infinite looping in most cases.
hope this helps, but do let me know if i'm missing the point here..

cheers,
youri
_________________
Artoonix man
Back to top
View user's profile Send private message
udi



Joined: 03 Jun 2007
Posts: 3

PostPosted: Sun Mar 08, 2009 11:09 am    Post subject: Reply with quote

I'll explain the problem by example:

When I make a gif anim by artoonix and set the loop counter to be 1
the browsers show me two loops.

When I make a gif anim by artoonix and set the loop counter to be 0
the browsers show me infinit loops.


Now. I export the frams as images and use the command
convert (ImageMagick):

Code:
convert -loop 1 myprojet/*  myanim.gif


Now I get a gif animation with only one loop as I want!
Back to top
View user's profile Send private message
youri
Site Admin


Joined: 12 Feb 2006
Posts: 296

PostPosted: Mon Mar 09, 2009 11:42 pm    Post subject: Reply with quote

indeed, udi, IE gives two loops while google chrome, or ppt correctly shows only one.. The problem is a number of different extensions (mentioned in my previous note) to the header in GIF that are not supported by all viewers (and not fully standardized) .. Will see what we can do for the next release.
cheers,
youri
_________________
Artoonix man
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Artoonix Forum Index -> Artoonix Bug Squasher All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group