AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.05.23 16:01 "[Tiff] Problems with image tiff Compression CCITT 1D in Windows NT", by Jeronimo Torres
2006.05.24 08:12 "Re: [Tiff] Problems with image tiff Compression CCITT 1D in Windows NT", by Gerben Vos
2006.07.14 04:09 "[Tiff] The problem of Convert tiff", by
2006.07.14 04:41 "Re: [Tiff] The problem of Convert tiff", by Joris
2006.07.14 05:47 "Re: [Tiff] The problem of Convert tiff", by
2006.07.14 07:36 "Re: [Tiff] The problem of Convert tiff", by Joris
2006.07.14 14:08 "RE: [Tiff] The problem of Convert tiff", by
2006.07.14 07:31 "[Tiff] About the tag stripbytecount and stripoffset.", by
2006.07.18 01:56 "Re: [Tiff] About the tag stripbytecount and stripoffset.", by Chris Cox
2006.07.18 02:53 "Re: [Tiff] About the tag stripbytecount and stripoffset.", by

2006.07.14 07:31 "[Tiff] About the tag stripbytecount and stripoffset.", by

Hi all:

    After My customer eidt tiff with Wang/Kodak ,The edited tiff 's tag stripbyecount and stripoffset is chaged.

    My question is How can chage the tag stripbyecoutn and stripoffset again with libtiff???

Wang/Kodak tiff:

SubFileType (1 Long): Zero

ImageWidth (1 Short): 1728

ImageLength (1 Short): 2329

BitsPerSample (1 Short): 1

Compression (1 Short): Group 3 Fax (aka CCITT FAX3)

Photometric (1 Short): MinIsWhite

FillOrder (1 Short): Lsb2Msb

StripOffsets (16 Long): 492, 4247, 9366, 15933, 23021, 29447, 36562,...

Orientation (1 Short): TopLeft SamplesPerPixel (1 Short): 1

RowsPerStrip (1 Short): 146

StripByteCounts (16 Long): 3755, 5119, 6567, 7088, 6426, 7115, 6581,...

XResolution (1 Rational): 204

YResolution (1 Rational): 196

Group3Options (1 Long): 4

ResolutionUnit (1 Short): Inch Software (25 ASCII): Oi/GFS, writer v00.06.02

32934 (0 Long):

Pay attention to: stripOffsets and stripbytecount.

////////////////////////////////////////////////////////////////////////

Before My customer edited the tiff with Wang/Kodak.

SubFileType (1 Long): Page
ImageWidth (1 Short): 1728

ImageLength (1 Short): 2320

BitsPerSample (1 Short): 1

Compression (1 Short): Group 3 Fax (aka CCITT FAX3)

Photometric (1 Short): MinIsWhite

FillOrder (1 Short): Lsb2Msb

StripOffsets (1 Long): 8

Orientation (1 Short): TopLeft SamplesPerPixel (1 Short): 1

RowsPerStrip (1 Short): 2320
StripByteCounts (1 Long): 72985

XResolution (1 Rational): 204
YResolution (1 Rational): 196
PlanarConfig (1 Short): Contig
Group3Options (1 Long): 0
ResolutionUnit (1 Short): Inch
PageNumber (2 Short): 0, 1

Software (11 ASCII): ReeDa_Tiff
DateTime (20 ASCII): 2005:01:01 10:00:00

BadFaxLines (1 Long): 0
CleanFaxData (1 Short): 0

//////////////////////////////////////////////////////////////////////////////////

The tag stripbytecount is changed from 72985 to 16 Long): 3755, 5119, 6567, 7088, 6426, 7115, 6581,... and the tag stripoffsets is changed from 2320 to (16 Long): 3755, 5119, 6567, 7088, 6426, 7115, 6581,...