Skip to main content

A question about ImageRead#createCollection

1 reply [Last post]
matfud
Offline
Joined: 2005-02-18

Hi all,

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.

Cheers

Matt

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
matfud
Offline
Joined: 2005-02-18

Ok, I'll read the docs more carefully in future.

Null passed as this parameter will cause all images to be read.

Cheers

Matt