tiled.adapters.tiff.TiffAdapter¶
- class tiled.adapters.tiff.TiffAdapter(data_uri: str, *, structure: ArrayStructure | None = None, metadata: Dict[str, str | int | float | bool | Dict[str, Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]] | List[Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]]] | None = None, specs: List[Spec] | None = None, access_policy: AccessPolicy | None = None)[source]¶
Read a TIFF file.
Examples
>>> TiffAdapter("path/to/file.tiff")
- __init__(data_uri: str, *, structure: ArrayStructure | None = None, metadata: Dict[str, str | int | float | bool | Dict[str, Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]] | List[Dict[str, str | int | float | bool | Dict[str, JSON] | List[JSON]]]] | None = None, specs: List[Spec] | None = None, access_policy: AccessPolicy | None = None) None [source]¶
- Parameters:
- data_uri
- structure
- metadata
- specs
- access_policy
Methods
__init__
(data_uri, *[, structure, metadata, ...])- Parameters:
metadata
()- Returns:
read
([slice])- Parameters:
read_block
(block[, slice])- Parameters:
structure
()- Returns:
Attributes
structure_family