Count image sequences in wand
Posted: 2007-01-08T04:24:02-07:00
What is the easiest way to count image sequences in magick wand? I had a variable with numImages and I added one to it every time I read an image.
But for example reading multi-page PDF adds multiple sequences so it messes up. Currently I am moving the pointer to last sequence, read the position and return the pointer back. Is there an easier way?
But for example reading multi-page PDF adds multiple sequences so it messes up. Currently I am moving the pointer to last sequence, read the position and return the pointer back. Is there an easier way?