Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Having problems with loading a tiff file using Tiff method

Asked by Rui Jiang on 5 Dec 2012

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

Rui Jiang

Tags

Products

No products are associated with this question.

1 Answer

Answer by 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

Walter Roberson

Contact us