AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.11.30 06:27 "Problem with CCITT Group 4 file", by Stefan Schulz
2000.11.30 12:52 "Re: Problem with CCITT Group 4 file", by Frank D. Cringle
2000.11.30 21:23 "Re: Problem with CCITT Group 4 file", by peters
2000.12.01 10:07 "AW: Problem with CCITT Group 4 file", by Bartz, Klaus
2000.12.01 12:40 "Re: Problem with CCITT Group 4 file", by Stefan Schulz
2001.01.04 14:03 "Re: NeXT tiffs", by Dale Amon
2001.01.23 17:41 "how to 'change' Rows/Strip ?", by Bård Kregnes
2001.01.23 18:00 "Re: how to 'change' Rows/Strip ?", by Helge Blischke

2000.11.30 06:27 "Problem with CCITT Group 4 file", by Stefan Schulz

Hello,

I try to read/view a tiff file with different Viewers for HP-UX. All these Viewers depent on libtiff. I got the newest version available for HP-UX 10.20, which is 3.5.4, but i still can't load these images. Here are the outputs from tiffinfo, tiffdump and the errormessage from xtiff:

b077:/opt/tiff-3.5/bin$ ./tiffinfo /caddaten/BS/cadtransfer/cad/test2.tif

TIFF Directory at offset 0x8
    Image Width: 4976 Image Length: 7028
    Resolution: 300, 300
    Bits/Sample: 1
    Compression Scheme: CCITT Group 4
    Photometric Interpretation: min-is-white
    Rows/Strip: 7028
    Planar Configuration: single image plane

b077:/opt/tiff-3.5/bin$ ./tiffdump /caddaten/BS/cadtransfer/cad/test2.tif

/caddaten/BS/cadtransfer/cad/test2.tif:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 8 (0x8) next 0 (0)
OldSubFileType (255) SHORT (3) 1<1>
ImageWidth (256) LONG (4) 1<4976>
ImageLength (257) LONG (4) 1<7028>
BitsPerSample (258) SHORT (3) 1<1>
Compression (259) SHORT (3) 1<4>
Photometric (262) SHORT (3) 1<0>
StripOffsets (273) LONG (4) 1<154>
RowsPerStrip (278) LONG (4) 1<7028>
StripByteCounts (279) LONG (4) 1<72096>
XResolution (282) RATIONAL (5) 1<300>
YResolution (283) RATIONAL (5) 1<300>

b077:/opt/tiff-3.5/bin$ ./X11/xtiff /caddaten/BS/cadtransfer/cad/test2.tif

/caddaten/BS/cadtransfer/cad/test2.tif: Using 1-bit PseudoColor visual. TIFFFillStrip: /caddaten/BS/cadtransfer/cad/test2.tif: Read error at scanline 4294967295; got 72088 bytes, expected 72096.

Unfortunately i have no influence in generating these images, so i have to take what i get. Is there a way to read/view these files with libtiff? As viewers i tried gview, ImageMagick, xtiff and gimp which all depend on libtiff and all failed to open these files.

Im no programmer, so if there is a solution to this problem and i have to edit/compile the sources, i need detailed instructions.

Any help would be greatly appreciated. (Hope my english was good enough to describe my problem)

Regards Stefan

--

Mit freundlichen Gruessen / with kind regards

Stefan Schulz / Systemadminstrator Bausch + Stroebel GmbH
Internet: http://www.bausch-stroebel.com