Skip to content

bugfix tiff tag bits per sample, byte_depth assignment#177

Merged
henrypinkard merged 1 commit intomicro-manager:mainfrom
LukasMicroscopy:8bit-tiff-tag-asignment-bugfix
Mar 10, 2026
Merged

bugfix tiff tag bits per sample, byte_depth assignment#177
henrypinkard merged 1 commit intomicro-manager:mainfrom
LukasMicroscopy:8bit-tiff-tag-asignment-bugfix

Conversation

@LukasMicroscopy
Copy link
Contributor

For 8bit gray scale numpy arrays the tiff tag entry "BITS_PER_SAMPLE = 258" gets 28 instead of 18 bits. (controlled by the byte_depth variable). Therefore the tiff files are opened wrong in a non ndtiff, standard tiff reader.

@henrypinkard henrypinkard enabled auto-merge March 27, 2025 16:07
@henrypinkard henrypinkard merged commit 0aab230 into micro-manager:main Mar 10, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants