tifffile API reference
51 public APIs from tifffile (cgohlke/tifffile) — 19 classes, 16 functions, 16 methods. Signatures extracted by static analysis of the actual source.
Repository: cgohlke/tifffile
| Kind | Count |
|---|---|
| Classes | 19 |
| Functions | 16 |
| Methods | 16 |
API list
func
tifffile._imagecodecs.float24_decode(data:bytes, *byteorder:Literal['>', '<'] | None=None, *out:Any=None) -> NDArray[Any]Return float32 array from float24.
func
tifffile._imagecodecs.lzma_decode(data:bytes, *out:Any=None) -> bytesDecompress LZMA.
func
tifffile._imagecodecs.lzma_encode(data:bytes | NDArray[Any], level:int | None=None, *check:int | None=None, *out:Any=None) -> bytesCompress LZMA.
func
tifffile._imagecodecs.packbits_decode(encoded:bytes, *out:Any=None) -> bytesDecompress PackBits encoded byte string.
func
tifffile._imagecodecs.packints_decode(data:bytes, dtype:DTypeLike | None, bitspersample:int, *bitorder:str | None=None, *runlen:int=0, *out:Any=None) -> NDArray[Any]Decompress bytes to array of integers.
func
tifffile._imagecodecs.packints_encode(data:ArrayLike, bitspersample:int, *bitorder:str | None=None, *runlen:int=0, *out:Any=None) -> bytes | bytearrayTightly pack integers.
func
tifffile._imagecodecs.zlib_decode(data:bytes, *out:Any=None) -> bytesDecompress Zlib DEFLATE.
func
tifffile._imagecodecs.zlib_encode(data:bytes | NDArray[Any], level:int | None=None, *out:Any=None) -> bytesCompress Zlib DEFLATE.
func
tifffile._imagecodecs.zstd_decode(data:bytes, *out:Any=None) -> bytesDecompress ZSTD.
func
tifffile._imagecodecs.zstd_encode(data:bytes | NDArray[Any], level:int | None=None, *out:Any=None) -> bytesCompress ZSTD.
class
tifffile.geodb.AngularAngular Units.
class
tifffile.geodb.CTCoordinate Transformation Codes.
class
tifffile.geodb.DatumGeodetic Datum Codes.
class
tifffile.geodb.DatumEEllipsoid-Only Geodetic Datum Codes.
class
tifffile.geodb.EllipseEllipsoid Codes.
class
tifffile.geodb.GCSGeographic CS Type Codes.
class
tifffile.geodb.GCSEUnspecified GCS based on ellipsoid.
class
tifffile.geodb.GeoKeysGeo keys.
class
tifffile.geodb.LinearLinear Units.
class
tifffile.geodb.ModelTypeModel Type Codes.
class
tifffile.geodb.PCSProjected CS Type Codes.
class
tifffile.geodb.PMPrime Meridian Codes.
class
tifffile.geodb.ProjProjection Codes.
class
tifffile.geodb.RasterPixelRaster Type Codes.
class
tifffile.geodb.VertCSVertical CS Type Codes.
func
tifffile.lsm2bin.main(argv:list[str] | None=None) -> intLsm2bin command line usage main function.
class
tifffile.numcodecs.TiffTIFF codec for Numcodecs.
method
tifffile.numcodecs.Tiff.decode(buf:Any, out:Any=None) -> AnyReturn decoded image as NumPy array.
method
tifffile.numcodecs.Tiff.encode(buf:Any) -> bytesReturn TIFF file as bytes.
func
tifffile.numcodecs.register_codec(cls:type[Codec]=Tiff, codec_id:str | None=None) -> NoneRegister :py:class:`Tiff` codec with Numcodecs.
func
tifffile.tiff2fsspec.main(argv:list[str] | None=None) -> intTiff2fsspec command line usage main function.
func
tifffile.tiffcomment.main(argv:list[str] | None=None) -> intTiffcomment command line usage main function.
class
tifffile.zarr.TiffTIFF codec for Zarr 3.
method
tifffile.zarr.Tiff.compute_encoded_size(input_byte_length:int, chunk_spec:ArraySpec) -> intCompute size of encoded chunk in bytes.
method
tifffile.zarr.Tiff.from_dict(data:dict[str, JSON]) -> SelfCreate instance of model from dictionary.
method
tifffile.zarr.Tiff.to_dict() -> dict[str, JSON]Convert instance of model to dictionary.
class
tifffile.zarr.ZarrFileSequenceStoreZarr 3 store interface to image array in FileSequence.
method
tifffile.zarr.ZarrFileSequenceStore.exists(key:str) -> boolReturn whether key exists in store.
method
tifffile.zarr.ZarrFileSequenceStore.get(key:str, prototype:BufferPrototype, byte_range:ByteRequest | None=None) -> Buffer | NoneReturn value associated with key.
class
tifffile.zarr.ZarrStoreZarr 3 store base class.
method
tifffile.zarr.ZarrStore.delete(key:str) -> NoneRemove key from store.
method
tifffile.zarr.ZarrStore.is_multiscales() -> boolReturn whether ZarrStore contains multiscales.
method
tifffile.zarr.ZarrStore.list() -> AsyncIterator[str]Return all keys in store.
method
tifffile.zarr.ZarrStore.list_dir(prefix:str) -> AsyncIterator[str]Return all keys and prefixes with prefix.
method
tifffile.zarr.ZarrStore.list_prefix(prefix:str) -> AsyncIterator[str]Return all keys in store that begin with prefix.
method
tifffile.zarr.ZarrStore.set(key:str, value:Buffer) -> NoneStore (key, value) pair.
method
tifffile.zarr.ZarrStore.supports_deletes() -> boolStore supports deletes.
method
tifffile.zarr.ZarrStore.supports_listing() -> boolStore supports listing.
method
tifffile.zarr.ZarrStore.supports_writes() -> boolStore supports writes.
func
tifffile.zarr.register_codec() -> NoneRegister zarr 3 tifffile codec.
func
tifffile.zarr.zarr_selection(store:ZarrStore, selection:BasicSelection, *groupindex:str | None=None, *close:bool=True, *out:OutputType=None) -> NDArray[Any]Return selection from Zarr store.
About this data
These signatures were extracted from the public source of cgohlke/tifffile
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.