Skip to main content

bioio-ome-tiff

Build Status PyPI version License Python 3.10–3.13

A BioIO reader plugin for reading OME TIFF files using tifffile


Documentation

See the full documentation on our GitHub pages site - the generic use and installation instructions there will work for this package.

Information about the base reader this package relies on can be found in the bioio-base repository here

Installation

Stable Release: pip install bioio-ome-tiff
Development Head: pip install git+https://github.com/bioio-devs/bioio-ome-tiff.git

Example Usage (see full documentation for more examples)

Install bioio-ome-tiff alongside bioio:

pip install bioio bioio-ome-tiff

This example shows a simple use case for just accessing the pixel data of the image by explicitly passing this Reader into the BioImage. Passing the Reader into the BioImage instance is optional as bioio will automatically detect installed plug-ins and auto-select the most recently installed plug-in that supports the file passed in.

from bioio import BioImage
import bioio_ome_tiff

img = BioImage("my_file.ome.tiff", reader=bioio_ome_tiff.Reader)
img.data

OmeTiffWriter

Import for the writer:

from bioio_ome_tiff.writers import OmeTiffWriter

The OmeTiffWriter lets you save image data to OME-TIFF files, supporting:

  • Single- or multi-scene datasets with explicit dimension order
  • Custom channel names, colors, and physical pixel sizes
  • Automatic generation and validation of OME-XML metadata
  • BigTIFF output for large (>2 GB) images

Example Usage

# Write a TCZYX dataset to OME-TIFF
image = numpy.ndarray([1, 10, 3, 1024, 2048])
OmeTiffWriter.save(image, "file.ome.tif")
# Write data with a specific dimension order
image = numpy.ndarray([10, 3, 1024, 2048])
OmeTiffWriter.save(image, "file.ome.tif", dim_order="ZCYX")
# Write multi-scene data, specifying channel names
image0 = numpy.ndarray([3, 10, 1024, 2048])
image1 = numpy.ndarray([3, 10, 512, 512])
OmeTiffWriter.save(
    [image0, image1],
    "file.ome.tif",
    dim_order="CZYX",  # will be applied to both scenes
    channel_names=[["C00", "C01", "C02"], ["C10", "C11", "C12"]],
)
# Write data with a custom compression scheme
image = numpy.ndarray([1, 10, 3, 1024, 2048])
OmeTiffWriter.save(
    image,
    "file.ome.tif",
    tifffile_kwargs={
        "compression": "zlib",
        "compressionargs": {"level": 8},
    },
)

Issues

Click here to view all open issues in bioio-devs organization at once or check this repository's issue tab.

Development

See CONTRIBUTING.md for information related to developing the code.

Metadata

Release files for bioio-ome-tiff 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bioio-ome-tiff 2.0.0
File Size Uploaded Provenance Actions
bioio_ome_tiff-2.0.0.tar.gz 35.9 kB With provenance Details for bioio_ome_tiff-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bioio-ome-tiff 2.0.0
File Interpreter ABI Platform Actions
bioio_ome_tiff-2.0.0-py3-none-any.whl Python 3 none any Details for bioio_ome_tiff-2.0.0-py3-none-any.whl

Total release size: 63.9 kB

Release files / bioio_ome_tiff-2.0.0.tar.gz

Download URL bioio_ome_tiff-2.0.0.tar.gz
Size 35.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e0e6aa3ed906e8ceebd1b7fef80b5dad5c8c0373a7b5d3a34ea5598185a1553b
BLAKE2b-256 checksum
How to use checksums
28de3b4d97761026932218991e35f8954c7e2402c073cb66a264163c14182ae5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / bioio_ome_tiff-2.0.0-py3-none-any.whl

Download URL bioio_ome_tiff-2.0.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24b177adeed67c09805ccedf269565a772023c243a632d10cd4bdb4b55b5cab0
BLAKE2b-256 checksum
How to use checksums
71e53e44ee00947dd0f6bdd04071293f273f53401947cf6085dd87191184f4ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for bioio-ome-tiff 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bioio_ome_tiff-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page