A question about ImageRead#createCollection
I am a bit puzzled by the ImageRead#createCollection static method (and the ImageRead operation in collection mode). The documentation suggests this is useful for loading animated gifs and multipage tiffs. However the operation takes a parameter which requires you to provide a list of the image indexes you wish to load. I'm trying to read animated GIF and multipage TIFF images but I do not know in advance how many images they contain. Is there anyway to tell ImageRead to read all of the images? If not this collection mode seems to be of very limited use.