We recently updated our MATLAB to R2021b, and are now getting errors with TIFFStack: ``` test = TIFFStack('Z:\My\Folder\My_File.ome.tif'); Warning: TIFF library warning - 'TIFFReadDirectoryCheckOrder: Invalid TIFF directory; tags are not sorted in ascending order.' > In TIFFStack (line 284) Warning: TIFF library warning - 'TIFFReadDirectory: Unknown field with tag 50838 (0xc696) encountered.' > In TIFFStack (line 284) Warning: TIFF library warning - 'TIFFReadDirectory: Unknown field with tag 50839 (0xc697) encountered.' > In TIFFStack (line 284) Warning: TIFF library warning - 'TIFFReadDirectory: Unknown field with tag 51123 (0xc7b3) encountered.' > In TIFFStack (line 284) bad cast ``` The warnings are normal and occur on previous versions, but the "bad cast" is new. I have no idea what it means, but I presume there's an internal function that's been changed in R2021b that no longer works correctly with TIFFStack. R2021a still works fine, so we can use that for now, but presumably you'll want to maintain compatibility with new versions going forward.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by dickinson-lab and has received 1 comments.