imageio.plugins.tifffile_v3.TifffilePlugin.iter_pages#

TifffilePlugin.iter_pages(index=Ellipsis, **kwargs)[source]#

Yield pages from a TIFF file.

This generator walks over the flat index of the pages inside an ImageResource and yields them in order.

Parameters
indexint

The index of the series to yield pages from. If Ellipsis, walk over the file’s flat index (and ignore individual series).

kwargsAny

Additional kwargs are passed to TiffPage’s as_array method.

Yields
pagenp.ndarray

A page stored inside the TIFF file.