Having problems with loading a tiff file using Tiff method
26 views (last 30 days)
Show older comments
I have a .tiff file that has 208 images. When I tried to using Tiff method, I got the following error message:
Warning: TIFF library warning: TIFFReadDirectoryCheckOrder: Invalid TIFF directory; tags are not sorted in ascending order.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8961 (0x2301) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8962 (0x2302) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8963 (0x2303) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8964 (0x2304) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8965 (0x2305) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8966 (0x2306) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8967 (0x2307) encountered.. Warning: TIFF library warning: TIFFReadDirectory: Unknown field with tag 8960 (0x2300) encountered..
I was able to open each file with imread(file,'Index',5); however, I cannot get the information how many images in the file.
0 Comments
Answers (1)
Walter Roberson
on 5 Dec 2012
Those tags really are not defined by the TIFF standard; they aren't even in the private space range. Possibly the TIFF is corrupted.
If you are using MS Windows, there is a utility to view the tags; see http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
0 Comments
See Also
Categories
Find more on Image Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!