summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-tifffile/Makefile21
-rw-r--r--graphics/py-tifffile/distinfo3
-rw-r--r--graphics/py-tifffile/pkg-descr22
4 files changed, 47 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 5e3ab1198a3a..805eba52a47c 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -876,6 +876,7 @@
SUBDIR += py-svg.path
SUBDIR += py-svgwrite
SUBDIR += py-termtosvg
+ SUBDIR += py-tifffile
SUBDIR += py-toyplot
SUBDIR += py-traitsui
SUBDIR += py-vecrec
diff --git a/graphics/py-tifffile/Makefile b/graphics/py-tifffile/Makefile
new file mode 100644
index 000000000000..a64030671a62
--- /dev/null
+++ b/graphics/py-tifffile/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= tifffile
+PORTVERSION= 2020.10.1
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Read and write TIFF(r) files
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-tifffile/distinfo b/graphics/py-tifffile/distinfo
new file mode 100644
index 000000000000..46ee9b5e8ae8
--- /dev/null
+++ b/graphics/py-tifffile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1601996442
+SHA256 (tifffile-2020.10.1.tar.gz) = 799feeccc91965b69e1288c51a1d1118faec7f40b2eb89ad2979591b85324830
+SIZE (tifffile-2020.10.1.tar.gz) = 224780
diff --git a/graphics/py-tifffile/pkg-descr b/graphics/py-tifffile/pkg-descr
new file mode 100644
index 000000000000..aeedc24a2729
--- /dev/null
+++ b/graphics/py-tifffile/pkg-descr
@@ -0,0 +1,22 @@
+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.
+
+WWW: https://github.com/cgohlke/tifffile