mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add py-tifffile 2020.10.1
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
This commit is contained in:
parent
eb1f9c4dc2
commit
79453a591b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551860
@ -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
|
||||
|
21
graphics/py-tifffile/Makefile
Normal file
21
graphics/py-tifffile/Makefile
Normal file
@ -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>
|
3
graphics/py-tifffile/distinfo
Normal file
3
graphics/py-tifffile/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1601996442
|
||||
SHA256 (tifffile-2020.10.1.tar.gz) = 799feeccc91965b69e1288c51a1d1118faec7f40b2eb89ad2979591b85324830
|
||||
SIZE (tifffile-2020.10.1.tar.gz) = 224780
|
22
graphics/py-tifffile/pkg-descr
Normal file
22
graphics/py-tifffile/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user