[Gdal-dev] TIFF Compressions Disabled (Unix)

Frank Warmerdam warmerdam at pobox.com
Wed Sep 22 09:26:02 EDT 2004


Julien Demaria wrote:
> Hi,
> 
> Maybe I'm wrong but it seems that at least PACKBITS and LZW TIFF 
> compressions are disabled under Unix in the current GDAL CVS (and in 
> 1.2.2 version) :
> in frmts/gtiff/libtiff/GNUmakefile only pass the -DZIP_SUPPORT 
> -DPIXARLOG_SUPPORT -DJPEG_SUPPORT
> and the makefile.vc pass -DCCITT_SUPPORT -DPACKBITS_SUPPORT -DLZW_SUPPORT \
>         -DTHUNDER_SUPPORT -DNEXT_SUPPORT -DLOGLUV_SUPPORT \
>         -DZIP_SUPPORT -DPIXARLOG_SUPPORT -DJPEG_SUPPORT

Julien,

I am afraid you are quite correct.  I had noticed this and talked to Andrey
about it briefly, but then I forgot to ensure it was corrected before the
release.

In the meantime I believe you can just add the extra defines in the
gdal/frmts/gtiff/libtiff/GNUmakefile.

Change:

ALL_C_FLAGS	=	$(CFLAGS) -DZIP_SUPPORT -DPIXARLOG_SUPPORT -I../../zlib

to:

ALL_C_FLAGS	=	$(CFLAGS) -I../../zlib \
			-DCCITT_SUPPORT -DPACKBITS_SUPPORT -DLZW_SUPPORT \
			-DTHUNDER_SUPPORT -DNEXT_SUPPORT -DLOGLUV_SUPPORT \
			-DZIP_SUPPORT -DPIXARLOG_SUPPORT

I have created a bug report to track this problem:

   http://208.24.120.44/show_bug.cgi?id=616

I will try to issue a GDAL 1.2.3 within a few weeks since this is a fairly
noteworthy flaw in 1.2.2.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list