
Thread
2001.12.17 11:47 "Newbie need help! Please!", by Juergen May
Hi!
I'm a newbie and have a problem understanding the TIFF data structure.
I need to get the resolution of a bi-level TIFF image but can't seem to get the value. I know the resolution is 300 so I'm expecting to find contiguous bytes with the values 1 and 44 (decimal).
Now, if I'm right, the value bytes in the tag 282 (x resolution) act as a pointer. In my instance, the values are as follows -
1 26 - Tag 282
0 5 - Rational type
0 0 0 1 - Count
0 0 0 182 - ???
I don't understand what 182 means!? Is this an offset from the start of the file? If so, the value from 182 are -
0 45 198 192
0 0 39 16
0 45 198 192
0 0 39 16
The expected values (1, 44) are at offset 342 -
1 44 0 0 0 1 0 2
But then I don't know what 0, 1, 0, 2 refer to...
Can someone please help!
Thanks in advance.
Juerg