Hi all,
I am using Magick++ and i am looking for a easy way to get the number of frames in an animated gif for example.
it seems quite easy to do when using command line ("identity -format %n") or "MagickGetNumberImages" in MagickWand api but what about magick++?
Thanks for any suggestions.
Get the Number of frames with Magick++?
Re: Get the Number of frames with Magick++?
To return the number of images in a sequence use:
- list<Image> first;
readImages( &first, "image.gif" );