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
September 2004

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

2004.09.02 18:08 "libgeotiff-1.2.2 + libtiff-3.7 (CVS), deflate fails", by Paul Martinolich
2004.09.07 19:36 "Re: libgeotiff-1.2.2 + libtiff-3.7 (CVS), deflate fails", by Andrey Kiselev

2004.09.02 18:08 "libgeotiff-1.2.2 + libtiff-3.7 (CVS), deflate fails", by Paul Martinolich

(tried to use bugzilla, but kept getting connection errors)

When I create a TIFF file with GeoTIFF excluded from the compilation,
the result is valid and runs okay.  If however, I link in GeoTiFF,
then the program fails with 'Decoding error at scanline 0, incorrect
header check'.

I am using libtiff-3.7 from CVS (1 September 2004) and Fedora Core 2
(Reading syms from /usr/lib/libz.so.1.2.1.1).

This same code will create a deflate compressed TIFF file w/ GeoTiFF 
tags using libgeotiff-1.2.1 and libtiff-3.6.1. (same platform).

%tiffinfo deflate.tif
TIFF Directory at offset 0x26bbe
  Image Width: 600 Image Length: 300
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 8
  Compression Scheme: Deflate
  Photometric Interpretation: RGB color
  Artist: "Naval Research Laboratory, Stennis Space Center, MS"
  Date & Time: "2004:09:01 16:15:06"
  Software: "imgBrowse"
  Document Name: "junk.tif"
  Image Description: "imgBrowse -1i -o compress=d
S2004217181236.L3_HNAV_MSB K_532 junk.tif"
  Model: "1:1"
  Samples/Pixel: 3
  Rows/Strip: 4
  Planar Configuration: single image plane
  Predictor: horizontal differencing 2 (0x2)


%tiffinfo junk.tif
junk.tif: Warning, unknown field with tag 33550 (0x830e) ignored.
junk.tif: Warning, unknown field with tag 33922 (0x8482) ignored.
junk.tif: Warning, unknown field with tag 34735 (0x87af) ignored.
TIFF Directory at offset 0x26bbe
  Image Width: 600 Image Length: 300
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 8
  Compression Scheme: Deflate
  Photometric Interpretation: RGB color
  Artist: "Naval Research Laboratory, Stennis Space Center, MS"
  Date & Time: "2004:09:01 16:26:38"
  Software: "imgBrowse"
  Document Name: "junk.tif"
  Image Description: "imgBrowse -1i -o compress=d
S2004217181236.L3_HNAV_MSB K_532 junk.tif"
  Model: "1:1"
  Samples/Pixel: 3
  Rows/Strip: 4
  Planar Configuration: single image plane
  Predictor: horizontal differencing 2 (0x2)