imageio.plugins.tifffile_v3.TifffilePlugin.properties#
- TifffilePlugin.properties(*, index: int = None, page: int = None) ImageProperties[source]#
Standardized metadata.
The properties returned depend on the value of both
indexandpage.indexselects a series andpageallows selecting a single page from the selected series. Ifindex=Ellipsis,pageis understood as a flat index, i.e., the selection ignores individual series inside the file. Ifindex=Ellipsisandpage=Nonethen global (file-level) properties are returned. Ifindex=Ellipsisandpage=..., file-level properties for the flattened index are returned.- Parameters:
- indexint
If
int, select the ndimage (series) located at that index inside the file. IfEllipsisandpageisintextract the properties of the page located at that (flat) index inside the file. IfEllipsisandpage=None, return the properties for the batch of all ndimages in the file.- pageint
If
Nonereturn the properties of the full ndimage. If...return the properties of the flattened index. Ifint, return the properties of the page at the selected index only.
- Returns:
- image_propertiesImageProperties
The standardized metadata (properties) of the selected ndimage or series.