Posted by
Mark J. Chopping on
URL: http://imagej.273.s1.nabble.com/TIFF-Tags-Exceptions-linux-Debian-8-1-tp5014072p5014077.html
I installed libtiff and used tiffdump to look at one of the the TIFFs I have to work with; this is the output:
$ tiffdump g_WV01_10AUG192149480-P1BS_R1C1-102001000F95F800_orth.tif
g_WV01_10AUG192149480-P1BS_R1C1-102001000F95F800_orth.tif:
Magic: 0x4949 <little-endian> Version: 0x2b <BigTIFF>
OffsetSize: 0x8 Unused: 0
Directory 0: offset 16 (0x10) next 0 (0)
ImageWidth (256) SHORT (3) 1<39002>
ImageLength (257) SHORT (3) 1<61309>
BitsPerSample (258) SHORT (3) 1<16>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<1>
StripOffsets (273) LONG8 (16) 61309<981557 1059561 1137565 1215569 1293573 1371577 1449581 1527585 1605589 1683593 1761597 1839601 1917605 1995609 2073613 2151617 2229621 2307625 2385629 2463633 2541637 2619641 2697645 2775649 ...>
SamplesPerPixel (277) SHORT (3) 1<1>
RowsPerStrip (278) SHORT (3) 1<1>
StripByteCounts (279) LONG8 (16) 61309<78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 78004 ...>
PlanarConfig (284) SHORT (3) 1<1>
SampleFormat (339) SHORT (3) 1<1>
33550 (0x830e) DOUBLE (12) 3<0.529681 0.529681 0>
33922 (0x8482) DOUBLE (12) 6<0 0 0 650247 6.88007e+06 0>
34735 (0x87af) SHORT (3) 32<1 1 0 7 1024 0 1 1 1025 0 1 1 1026 34737 21 0 2049 34737 7 21 2054 0 1 9102 ...>
34737 (0x87b1) ASCII (2) 29<WGS 84 / UTM zone 5N|WGS ...>
42112 (0xa480) ASCII (2) 76<<GDALMetadata>\n <Item n ...>
42113 (0xa481) ASCII (2) 7<-32768\0>
Is there something about these TIFFs that upsets the TIFF Tags plugin? They were written with GDAL. Anyone have any idea why this plugin fails for these TIFFs?
Also, in the line StripOffsets (273) LONG8 (16) 61309<981557 1059561... which number is the byte count to the start of imagery: 61309 or 981557?
--Mark
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html