graphics/py-tifffile 2026.1.14_1 MidnightBSD
Read and write TIFF(r) files
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd3
- Categories
- graphics, python
Description
Tifffile is a Python library to
- store numpy arrays in TIFF (Tagged Image File Format) files, and
- read image and metadata from TIFF-like files used in bioimaging.
Image and metadata can be read from TIFF, BigTIFF, OME-TIFF, STK, LSM, SGI, NIHImage, ImageJ, MicroManager, FluoView, ScanImage, SEQ, GEL, SVS, SCN, SIS, ZIF (Zoomable Image File Format), QPTIFF (QPI), NDPI, and GeoTIFF files.
Image data can be read as numpy arrays or zarr arrays/groups from strips, tiles, pages (IFDs), SubIFDs, higher order series, and pyramidal levels.
Numpy arrays can be written to TIFF, BigTIFF, OME-TIFF, and ImageJ hyperstack compatible files in multi-page, volumetric, pyramidal, memory-mappable, tiled, predicted, or compressed form.
A subset of the TIFF specification is supported, mainly 8, 16, 32 and 64-bit integer, 16, 32 and 64-bit float, grayscale and multi-sample images. Specifically, CCITT and OJPEG compression, chroma subsampling without JPEG compression, color space transformations, samples with differing types, or IPTC and XMP metadata are not implemented.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/py-tifffile | 2026.1.14_1 |
| FreeBSD | graphics/py-tifffile | 2026.9.20 |
| OpenBSD | graphics/py-tifffile | 2026.3.3 |
| NetBSD | graphics/py-tifffile | 2026.9.9 |
| DragonFly | graphics/py-tifffile | 2025.3.13 |
| HardenedBSD | graphics/py-tifffile | 2026.9.20 |
| GhostBSD | graphics/py-tifffile | 2026.9.15 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}tifffile
From mports:
cd /usr/mports/graphics/py-tifffile && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tifffile>0:graphics/py-tifffile
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}numpy>=0,1: math/py-numpy
Build dependencies 2
Run dependencies 1
Required by 1
Configuration
Options name: graphics_tifffile
| Option | Default | Description |
|---|---|---|
| CODECS | off | Codec for compression and predictor schemes |
| PLOT | off | Plotting support |
| XML | off | Validate and print XML |
- USES
- dos2unix python:3.11+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tifffile-2026.1.14.tar.gz | 373639 | a423c583e1eecd9ca255642d47f463efa8d7f2365a0e110eb0167570493e0c8c |
Master sites 2
- PYPI
- https://github.com/cgohlke/tifffile/releases/download/v2026.1.14/