[ome-users] Invalid values stored in TIFF-tag 'StripByteCounts' when writing striped OME-TIFF
Matthias Baldauf
matthias.baldauf at umit.at
Wed Sep 12 11:03:05 BST 2012
Hi Melissa,
> This logic was originally introduced to work around the fact that some files
> (notably, many Zeiss .lsm files) are LZW-compressed but are missing the
> RowsPerStrip entry. Doubling the byte count ensures that all of the
> data is read, even if the number of "compressed" bytes is greater than the
> number of raw bytes (which occasionally happens).
>
> Simply removing this isn't sufficient, as there are still cases where it
> is needed. This commit should be an effective compromise:
>
> https://github.com/melissalinkert/bioformats/commit/0144587f34bd5110528152cfcbb2498d381cde00
Thank you very much for the explanation and the bug fix!
Regards,
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20120912/44c5bde0/attachment.html>
More information about the ome-users
mailing list