imageio.plugins.tifffile_v3.TifffilePlugin.properties#
- TifffilePlugin.properties(*, index: Optional[int] = None, page: Optional[int] = None) ImageProperties [source]#
Standardized metadata.
The properties returned depend on the value of both
index
andpage
.index
selects a series andpage
allows selecting a single page from the selected series. Ifindex=Ellipsis
,page
is understood as a flat index, i.e., the selection ignores individual series inside the file. Ifindex=Ellipsis
andpage=None
then global (file-level) properties are returned. Ifindex=Ellipsis
andpage=...
, file-level properties for the flattened index are returned.- Parameters:
- indexint
If
int
, select the ndimage (series) located at that index inside the file. IfEllipsis
andpage
isint
extract the properties of the page located at that (flat) index inside the file. IfEllipsis
andpage=None
, return the properties for the batch of all ndimages in the file.- pageint
If
None
return 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.