![]() GSystem->Unlink(kGifName.Data()) //delete existing file Run this macro: //root -l -b -q test_gifs.cpp+Ĭonst TString kGifName = "test_gifs.gif" Ĭonst TString kGifSleep = "50" //centiseconds Is there a way to say at the same time -> I want a delay of 50 cs and also an infinite loop? But the delay between the last image of the loop and the first one is the default one (“0”). Uses the last image (i=10) to make it an infinite loop. root/html/src/#4430Ĭould it be added at these points also to the documentation, to clarify it / or say at least “->see WriteImage function for more details”? Otherwise, each user has to search deeply in the code until finding the reason. ![]() [ GIF Animation (seems to be an old problem) ![]() “myfile.gif++NN”, where NN is number of cycles. For repeated animation the last subimage must be specified as The reason is the different behaviour of “NN” for the last subimage, when used in animation. Plays again exactly 50 times, which in reality should be the 50cs delay I wanted between image 4 and image 1. Ok, I just figured out the reason why I was confused.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |