Found a problem with it ... I should change this into - NumberOfFrames photo_name - JumpToFrame photo_name frame_index
because otherwise it can never work if we have multiple animated gifs, I guess ... Anyways, I need to go to sleep :( JeeBee. > Hi All - and especially Youness this time, > > I made some changes to TkCximage, which you hopefully like. > Added: > - ::CxImage::NumberOfFrames > - returns the number of frames > - ::CxImage::JumpToFrame <frame index> > - Jumps to <frame index> > > I changed demo.tcl for illustration/testing. > (It works fine each time for my Hangman animated gif, but seems not to > work sometimes for the animated gif in the demo directory, if anyone can > tell me why that would be great :) > > As a result, my Hangman images are much smaller. I put them in 1 > animated gif and I guess that compression is much better in some way > (the pictures are a like, so I thought this made sense). > > Anyways, it can be usefull in other cases I'd suppose, and it's a small > change. > > JeeBee. > > ps > If anyone decides to commit this, he/she can contact me for the > Hangman animated gif, just to have another nice animated gif example in > the demo directory. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel