I have a multilayer .tiff image that I can open in matlab with either imfinfo or imread. The results look as I expect.
However, I can't open the image in python: PIL.Image.open fails with UnidentifiedImageError: cannot identify image file, and exifreader gives nonsense for the image tags.
I assume there's some part of the tiff standard that the python packages are checking and matlab is not, but I don't know how to debug further. What are the first steps to take to figure out how the image is corrupted?