- set mode to composite

This commit is contained in:
Wim Pomp
2022-05-05 10:25:12 +02:00
parent 68980a9e4f
commit 0e52125542
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ with open('README.md', 'r') as fh:
setuptools.setup( setuptools.setup(
name='tiffwrite', name='tiffwrite',
version='2022.5.1', version='2022.5.2',
author='Wim Pomp @ Lenstra lab NKI', author='Wim Pomp @ Lenstra lab NKI',
author_email='w.pomp@nki.nl', author_email='w.pomp@nki.nl',
description='Parallel tiff writer compatible with ImageJ.', description='Parallel tiff writer compatible with ImageJ.',

View File

@@ -440,7 +440,7 @@ class IJTiffFile:
else: else:
desc.extend((f'images={np.prod(self.shape)}', f'channels={self.shape[0]}', f'slices={self.shape[1]}', desc.extend((f'images={np.prod(self.shape)}', f'channels={self.shape[0]}', f'slices={self.shape[1]}',
f'frames={self.shape[2]}')) f'frames={self.shape[2]}'))
desc.extend(('hyperstack=true', 'mode=grayscale', 'loop=false', 'unit=micron')) desc.extend(('hyperstack=true', 'mode=composite', 'loop=false', 'unit=micron'))
if self.deltaz is not None: if self.deltaz is not None:
desc.append(f'spacing={self.deltaz}') desc.append(f'spacing={self.deltaz}')
if self.timeinterval is not None: if self.timeinterval is not None: