[Gdal-dev] TIFF Compressions Disabled (Unix)

Julien Demaria dem at acri-st.fr
Wed Sep 22 09:50:44 EDT 2004


Frank,

should I also add the other options from makefile.vc (fillorder, stripchop, 
extrasample, ycbcr_subsampling, $(jpeg_flags)) ? :

in makefile.vc :
EXTRAFLAGS =    -I..\..\zlib -DFILLODER_LSB2MSB \
                 -DCCITT_SUPPORT -DPACKBITS_SUPPORT -DLZW_SUPPORT \
                 -DTHUNDER_SUPPORT -DNEXT_SUPPORT -DLOGLUV_SUPPORT \
                 -DZIP_SUPPORT -DPIXARLOG_SUPPORT \
                 -DSTRIPCHOP_DEFAULT=TIFF_STRIPCHOP \
                 -DDEFAULT_EXTRASAMPLE_AS_ALPHA 
-DCHECK_JPEG_YCBCR_SUBSAMPLING \
                 $(JPEG_FLAGS)

Thanks,

Julien


At 15:26 22/09/2004, Frank Warmerdam wrote:
>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