- #include <list>
...
list<Image> imageList;
readImages( &imageList, "test_image_anim.gif" );
...
cout << imageList.begin() << endl;
cout << imageList.end() << endl;
Determine if .gif is animated from c++ api
Re: Determine if .gif is animated from c++ api
Use STL. The image list begin() / end() tells you the length of the animation. If its 1 its not an animation: