$npx skillfedfor your agent

tifffile

Read and write TIFF files

Worth itPyPI Information AnalysisReleased Aug 202629.6M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tifffile-2026.7.31-py3-none-any.whl
v2026.7.31 · released 2026-08-01 · Python >=3.12 · 1 runtime deps: numpy

Yes. Tifffile is a mature, actively maintained library with low install friction, no known vulnerabilities, and permissive licensing. It is the standard choice for TIFF I/O in scientific Python when you need broad format support and bioimaging compatibility. Install it if you work with TIFF files, microscopy data, or need to convert between TIFF variants.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later.
  • Optional dependencies (imagecodecs, zarr, xarray, lxml) unlock compression, Zarr stores, and advanced metadata handling.
  • Low install friction with a single runtime dependency (numpy).

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute tifffile with minimal restrictions, provided you include the license notice.

last release 2026-08-01 (13 days) · last repo commit 2026-08-01 · 662 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 29,553,745 downloads/mo, #812 on PyPI

Verify before relying

pip install tifffile

import tifffile
import numpy as np

# Read a TIFF file
image = tifffile.imread('file.tiff')

# Write a NumPy array to TIFF
tifffile.imwrite('output.tiff', image)
  • Whether optional dependencies (imagecodecs, zarr, xarray, lxml, matplotlib, kerchunk) are automatically installed or must be manually added for specific workflows.
  • Performance characteristics and memory efficiency when reading or writing large multi-dimensional TIFF files.
Same gist for agents: .md · .json

What it is and what it does

Tifffile is a comprehensive Python library for reading and writing TIFF files and related bioimaging formats. It stores NumPy arrays directly in TIFF (Tagged Image File Format) files and reads image data and metadata from TIFF, BigTIFF, OME-TIFF, GeoTIFF, Adobe DNG, and many proprietary bioimaging formats used in microscopy and medical imaging. The library handles strips, tiles, pages, multi-dimensional series, and pyramidal levels, returning data as NumPy or Zarr arrays.

Tifffile supports a wide range of compression schemes (LZW, JPEG, JPEG 2000, Zstd, WebP, PNG, and others) via the imagecodecs library, and can write multi-page, volumetric, pyramidal, and memory-mappable TIFF files. It also provides tools to inspect TIFF structures, read multi-dimensional file sequences, write fsspec ReferenceFileSystem metadata, and parse proprietary metadata formats. The package is actively maintained and includes a command-line interface for inspecting and previewing TIFF files.

Use it for

  • Store and retrieve NumPy arrays in TIFF format for scientific imaging workflows.
  • Read microscopy and bioimaging files (OME-TIFF, Zeiss LSM, Hamamatsu NDPI) with metadata preservation.
  • Convert between TIFF variants and compression schemes for interoperability across imaging software.
  • Access large multi-dimensional image data as memory-mapped or Zarr arrays without loading entire files.
  • Inspect TIFF file structure and metadata from the command line or programmatically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Tifffile is a mature, actively maintained library with low install friction, no known vulnerabilities, and permissive licensing. It is the standard choice for TIFF I/O in scientific Python when you need broad format support and bioimaging compatibility. Install it if you work with TIFF files, microscopy data, or need to convert between TIFF variants.

Install

tifffile on PyPI

Before you install

Low install friction with a single runtime dependency (numpy). Active maintenance with a release 13 days old and recent commits; the package is in Beta status but has been maintained since 2014.

Requires Python 3.12 or later. Optional dependencies (imagecodecs, zarr, xarray, lxml) unlock compression, Zarr stores, and advanced metadata handling.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute tifffile with minimal restrictions, provided you include the license notice.

Quickstart

pip install tifffile

import tifffile
import numpy as np

# Read a TIFF file
image = tifffile.imread('file.tiff')

# Write a NumPy array to TIFF
tifffile.imwrite('output.tiff', image)

Verify before relying

  • Whether optional dependencies (imagecodecs, zarr, xarray, lxml, matplotlib, kerchunk) are automatically installed or must be manually added for specific workflows.
  • Performance characteristics and memory efficiency when reading or writing large multi-dimensional TIFF files.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 13 days since the last release
Last repo commit
First released
Downloads29,553,745 / month, #812 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15

Evidence: tifffile-2026.7.31-py3-none-any.whl

Tags

Capabilities
read write tiff filestiff image processingbioimaging file formatsnumpy tiff arraysgeotiff supportome-tiff readerimage compression tiff
Topics
bioimagingimage-ioscientific-computing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “read write tiff files”

  • tifffileRead and write TIFF files and TIFF-like formats (BigTIFF, OME-TIFF,…
  • OpenImageIOOpenImageIO reads, writes, and processes images in nearly any file…
  • roifileRead, write, create, and plot ImageJ ROI format files, which store…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also large-image · ome-zarr · roifile · ImageIO · ome-types · fabio · OpenImageIO · PIMS · openslide-python · ExifRead