Rewrite: IJTiffWriter is replaced by IJTiffFile which includes preliminary support for reading.

- Support colormaps per channels via the colors argument.
- No writer process anymore, the pool writes to the file by using a filehandle with a lock.
- Can save extra tiff tags in every frame and/or per frame individually.
- Header and IFD classes with support for reading files.
- Multiplexing is now done automatically when multiple IJTiffFiles are initialized: the process pool is shared by all IJTiffFiles.
This commit is contained in:
Wim Pomp
2022-05-03 16:10:13 +02:00
parent e7b999faa7
commit edc126d079
4 changed files with 688 additions and 469 deletions

View File

@@ -5,7 +5,7 @@ with open('README.md', 'r') as fh:
setuptools.setup(
name='tiffwrite',
version='2021.12.0',
version='2022.5.0',
author='Wim Pomp @ Lenstra lab NKI',
author_email='w.pomp@nki.nl',
description='Parallel tiff writer compatible with ImageJ.',
@@ -18,6 +18,6 @@ setuptools.setup(
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
],
python_requires='>=3.5',
install_requires=['tifffile', 'numpy', 'tqdm', 'colorcet', 'multipledispatch'],
python_requires='>=3.7',
install_requires=['tifffile', 'numpy', 'tqdm', 'colorcet', 'matplotlib'],
)