AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2002

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2002.05.18 15:24 "Q about a FAX TIFF", by Chris Losinger
2002.05.18 17:13 "Re: Q about a FAX TIFF", by Peter Nielsen
2002.05.18 18:04 "Re: Q about a FAX TIFF", by Chris Losinger

2002.05.18 15:24 "Q about a FAX TIFF", by Chris Losinger

Hi,

The image viewer that is built into Windows XP has troubles with the G3/G4 
TIFF i'm producing. Every other image program I have can read them just 
fine, not even a LibTiff warning. So, in my opinion XP is broken. Of 
course, that never flies with customers.

I have the dumptiff results below, for a file it can't read and one it 
can. I was hoping someone a bit more knowledgeable could take a look at 
these and tell me if anything looks suspicious. I'm creating these with 
LibTIFF 3.3.5 (it doesn't matter if i use compression 2,3 or 4 - it can't 
read any of them).

thanks in advance.

	-c

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

Bad:

TIFF HEADER for c:\temp\multi.tif:
HEADER:
000000  Byte Order            4949      'II'
000002  Version               002A'
000004  1st IFD Offset        000012C4
IFD #0:
0012C4  Entry Count           000F
0012C6  ImageWidth            0100 3 000001 00000198, Short  = 000408
0012D2  ImageLength           0101 3 000001 0000003C, Short  = 000060
0012DE  BitsPerSample         0102 3 000001 00000001, Short  = 000001
0012EA  Compression           0103 3 000001 00000002, Short  = 000002 G3/1D MH
0012F6  PhotometricInterpret  0106 3 000001 00000000, Short  = 000000 White=0
001302  StripOffsets          0111 4 000001 00000008, Long   = 000008
00130E  Orientation           0112 3 000001 00000001, Short  = 000001 UprLeft
00131A  SamplesPerPixel       0115 3 000001 00000001, Short  = 000001
001326  RowsPerStrip          0116 3 000001 000000A0, Short  = 000160
001332  StripByteCounts       0117 4 000001 000012BC, Long   = 004796
00133E  XResolution           011A 5 000001 0000137E, Ration @ 00137E
00134A  YResolution           011B 5 000001 00001386, Ration @ 001386
001356  PlanarConfiguration   011C 3 000001 00000002, Short  = 000002 Planar
001362  ResolutionUnit        0128 3 000001 00000002, Short  = 000002 inch
00136E  Software              0131 2 000024 0000138E, Ascii  @ 00138E
00137A  Next IFD Offset       0000266E
00138E  *Software             "ImgSource (IS 2.2.7.0), using 3.5.5"
00137E  *XResolution          629145600/2097152, 300.0000 dots/inch
001386  *YResolution          629145600/2097152, 300.0000 dots/inch
IFD #1:
00266E  Entry Count           000F
002670  ImageWidth            0100 3 000001 00000198, Short  = 000408
00267C  ImageLength           0101 3 000001 0000003C, Short  = 000060
002688  BitsPerSample         0102 3 000001 00000001, Short  = 000001
002694  Compression           0103 3 000001 00000002, Short  = 000002 G3/1D MH
0026A0  PhotometricInterpret  0106 3 000001 00000000, Short  = 000000 White=0
0026AC  StripOffsets          0111 4 000001 000013B2, Long   = 005042
0026B8  Orientation           0112 3 000001 00000001, Short  = 000001 UprLeft
0026C4  SamplesPerPixel       0115 3 000001 00000001, Short  = 000001
0026D0  RowsPerStrip          0116 3 000001 000000A0, Short  = 000160
0026DC  StripByteCounts       0117 4 000001 000012BC, Long   = 004796
0026E8  XResolution           011A 5 000001 00002728, Ration @ 002728
0026F4  YResolution           011B 5 000001 00002730, Ration @ 002730
002700  PlanarConfiguration   011C 3 000001 00000002, Short  = 000002 Planar
00270C  ResolutionUnit        0128 3 000001 00000002, Short  = 000002 inch
002718  Software              0131 2 000024 00002738, Ascii  @ 002738
002724  Next IFD Offset       00000000
002738  *Software             "ImgSource (IS 2.2.7.0), using 3.5.5"
002728  *XResolution          629145600/2097152, 300.0000 dots/inch
002730  *YResolution          629145600/2097152, 300.0000 dots/inch


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


Good (truncated after 2nd page)

TIFF HEADER for good.tif:
HEADER:
000000  Byte Order            4949      'II'
000002  Version               002A'
000004  1st IFD Offset        00000008
IFD #0:
000008  Entry Count           0011
00000A  NewSubfileType        00FE 4 000001 00000000, Long   = 000000
000016  SubfileType           00FF 3 000001 00000001, Short  = 000001 Full
000022  ImageWidth            0100 3 000001 000006C0, Short  = 001728
00002E  ImageLength           0101 3 000001 00000860, Short  = 002144
00003A  BitsPerSample         0102 3 000001 00000001, Short  = 000001
000046  Compression           0103 3 000001 00000002, Short  = 000002 G3/1D MH
000052  PhotometricInterpret  0106 3 000001 00000000, Short  = 000000 White=0
00005E  DocumentName          010D 2 000010 00000108, Ascii  @ 000108
00006A  StripOffsets          0111 4 00001D 00000118, Long   @ 000118
000076  SamplesPerPixel       0115 3 000001 00000001, Short  = 000001
000082  RowsPerStrip          0116 4 000001 0000004B, Long   = 000075
00008E  StripByteCounts       0117 4 00001D 0000018C, Long   @ 00018C
00009A  XResolution           011A 5 000001 000000F2, Ration @ 0000F2
0000A6  YResolution           011B 5 000001 000000FA, Ration @ 0000FA
0000B2  PlanarConfiguration   011C 3 000001 00000001, Short  = 000001 Chunky
0000BE  ResolutionUnit        0128 3 000001 00000002, Short  = 000002 inch
0000CA  PageNumber            0129 3 000002 00070000, Short  = 0,7
0000D6  Next IFD Offset       0000BECC
000108  *DocumentName         "Victor"
0000F2  *XResolution          204/1, 204.0000 dots/inch
0000FA  *YResolution          196/1, 196.0000 dots/inch
000118  *StripOffsets         (29 items)
         00000200 00000682 0000078F 00001851 0000227B 0000274E 0000282F
         00002910 000029F1 00002AD2 00002BB3 000036B4 000045DA 0000547A ...
00018C  *StripByteCounts      (29 items)
         00000482 0000010D 000010C2 00000A2A 000004D3 000000E1 000000E1
         000000E1 000000E1 000000E1 00000B01 00000F26 00000EA0 00000DEF ...
IFD #1:
00BECC  Entry Count           0011
00BECE  NewSubfileType        00FE 4 000001 00000000, Long   = 000000
00BEDA  SubfileType           00FF 3 000001 00000001, Short  = 000001 Full
00BEE6  ImageWidth            0100 3 000001 000006C0, Short  = 001728
00BEF2  ImageLength           0101 3 000001 00000858, Short  = 002136
00BEFE  BitsPerSample         0102 3 000001 00000001, Short  = 000001
00BF0A  Compression           0103 3 000001 00000002, Short  = 000002 G3/1D MH
00BF16  PhotometricInterpret  0106 3 000001 00000000, Short  = 000000 White=0
00BF22  DocumentName          010D 2 000010 0000BFCC, Ascii  @ 00BFCC
00BF2E  StripOffsets          0111 4 00001D 0000BFDC, Long   @ 00BFDC
00BF3A  SamplesPerPixel       0115 3 000001 00000001, Short  = 000001
00BF46  RowsPerStrip          0116 4 000001 0000004B, Long   = 000075
00BF52  StripByteCounts       0117 4 00001D 0000C050, Long   @ 00C050
00BF5E  XResolution           011A 5 000001 0000BFB6, Ration @ 00BFB6
00BF6A  YResolution           011B 5 000001 0000BFBE, Ration @ 00BFBE
00BF76  PlanarConfiguration   011C 3 000001 00000001, Short  = 000001 Chunky
00BF82  ResolutionUnit        0128 3 000001 00000002, Short  = 000002 inch
00BF8E  PageNumber            0129 3 000002 00070001, Short  = 1,7
00BF9A  Next IFD Offset       00019765
00BFCC  *DocumentName         "Victor"
00BFB6  *XResolution          204/1, 204.0000 dots/inch
00BFBE  *YResolution          196/1, 196.0000 dots/inch
00BFDC  *StripOffsets         (29 items)
         0000C0C4 0000C54C 0000C94D 0000CC20 0000CDF2 0000D188 0000D9D2
         0000E341 0000EC3D 0000F0A1 0000F2EF 0000F532 0000F8C3 0000FBA9 ...
00C050  *StripByteCounts      (29 items)
         00000488 00000401 000002D3 000001D2 00000396 0000084A 0000096F
         000008FC 00000464 0000024E 00000243 00000391 000002E6 0000047D ...

----
Chris Losinger
chrisdl@pagesz.net                   http://www.pagesz.net/~chrisdl
smallest@smalleranimals.com          http://www.smalleranimals.com