AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.02.13 09:17 "Multi-page TIFF; how does it work?", by James Chalcroft
2002.02.13 12:20 "Re: Multi-page TIFF; how does it work?", by Michel Plungjan
2002.02.13 14:31 "Re: Multi-page TIFF; how does it work?", by Martí Maria

2002.02.13 12:20 "Re: Multi-page TIFF; how does it work?", by Michel Plungjan

NewSubfileType
A general indication of the kind of data contained in this subfile.
Tag = 254 (FE.H)
Type = LONG
N = 1

Replaces the old SubfileType field, due to limitations in the definition of that field. NewSubfileType is mainly useful when there are multiple subfiles in a single TIFF file.

This field is made up of a set of 32 flag bits. Unused bits are expected to be 0. Bit 0 is the low-order bit. Currently defined values are:

Bit 0 is 1 if the image is a reduced-resolution version of another image in this TIFF file; else the bit is 0.

Bit 1 is 1 if the image is a single page of a multi-page image (see the PageNumber field description); else the bit is 0.

Bit 2 is 1 if the image defines a transparency mask for another image in this TIFF file.

The PhotometricInterpretation value must be 4, designating a transparency mask.

These values are defined as bit flags because they are independent of each other.

Default is 0.

---------------------------

Then you look at number of directory entries and Next IFD offset

Offset Description Value
(hex) (numeric values are expressed in hexadecimal notation)
Header:
0000 Byte Order 4D4D
0002 42 002A
0004 1st IFD offset 00000014 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
IFD:
0014 Number of Directory Entries 000C <<<<<<<<<<<<<<<<<<<<<<<<
0016 NewSubfileType 00FE 0004 00000001 00000000
0022 ImageWidth 0100 0004 00000001 000007D0
002E ImageLength 0101 0004 00000001 00000BB8
003A Compression 0103 0003 00000001 8005 0000
0046 PhotometricInterpretation 0106 0003 00000001 0001 0000
0052 StripOffsets 0111 0004 000000BC 000000B6
005E RowsPerStrip 0116 0004 00000001 00000010
006A StripByteCounts 0117 0003 000000BC 000003A6
0076 XResolution 011A 0005 00000001 00000696
0082 YResolution 011B 0005 00000001 0000069E
008E Software 0131 0002 0000000E 000006A6
009A DateTime 0132 0002 00000014 000006B6
00A6 Next IFD offset 00000000 <<<<<<<<<<<<<<<<<<<<<
Values longer than 4 bytes:
00B6 StripOffsets Offset0, Offset1,... Offset187
03A6 StripByteCounts Count0, Count1,... Count187
0696 XResolution 0000012C 00000001
069E YResolution 0000012C 00000001
06A6 Software "PageMaker 4.0"
06B6 DateTime "1988:02:18 13:59:59"
Image Data:
00000700 Compressed data for strip 10
xxxxxxxx Compressed data for strip 179
xxxxxxxx Compressed data for strip 53
xxxxxxxx Compressed data for strip 160

.