BSD Ports

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

SystemPortVersion
MidnightBSDgraphics/py-tifffile2026.1.14_1
FreeBSDgraphics/py-tifffile2026.9.20
OpenBSDgraphics/py-tifffile2026.3.3
NetBSDgraphics/py-tifffile2026.9.9
DragonFlygraphics/py-tifffile2025.3.13
HardenedBSDgraphics/py-tifffile2026.9.20
GhostBSDgraphics/py-tifffile2026.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

Runtime 1

Build dependencies 2
Run dependencies 1
Required by 1

Configuration

Options name: graphics_tifffile

OptionDefaultDescription
CODECSoffCodec for compression and predictor schemes
PLOToffPlotting support
XMLoffValidate and print XML
USES
dos2unix python:3.11+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
tifffile-2026.1.14.tar.gz373639a423c583e1eecd9ca255642d47f463efa8d7f2365a0e110eb0167570493e0c8c
Master sites 2
  • PYPI
  • https://github.com/cgohlke/tifffile/releases/download/v2026.1.14/