Overview of tifffile capabilities
masterTifffile is a comprehensive Python library designed for:
- Storing NumPy arrays in TIFF (Tagged Image File Format) files.
- Reading image and metadata from a wide variety of bioimaging formats, including TIFF, BigTIFF, OME-TIFF, GeoTIFF, Adobe DNG, ZIF, and many proprietary formats (e.g., Zeiss LSM, Leica SCN, Hamamatsu NDPI).
Key Features:
- Data Access: Read image data as NumPy arrays or Zarr arrays/groups from strips, tiles, pages (IFDs), SubIFDs, higher-order series, and pyramidal levels.
- Writing Support: Write to TIFF, BigTIFF, OME-TIFF, and ImageJ hyperstack compatible files in multi-page, volumetric, pyramidal, memory-mappable, tiled, predicted, or compressed forms.
- Compression: Supports many schemes via the
imagecodecslibrary, including LZW, Deflate, JPEG, JPEG 2000, Zstd, WebP, PNG, and more. - Advanced Inspection: Inspect TIFF structures, read multi-dimensional file sequences, write
fsspecReferenceFileSystems, and parse proprietary metadata.