[Gdal-dev] GeoTIFF LZW compression?

Thom DeCarlo t.r.decarlo at larc.nasa.gov
Fri Jul 30 19:06:16 EDT 2004


Friday, July 30, 2004 12:08 AM, Andrey Kiselev wrote:
> 
> On Thu, Jul 29, 2004 at 07:06:46PM -0400, Thom DeCarlo wrote:
> > Has LZW compression been implemented for GeoTIFF output in gdal yet?
> > Now that all of the patents have expired (I think...) there shouldn't
> > be any other restrictions, right?
> 
> LZW code has been commited in the upstream libtiff sources and will be
> propagated to the GDAL soon. Meanwhile you can grab the libtiff library
> from the its CVS and use it instead of internal version.
> 
> 						Andrey

(I'm backing up in the message thread to rely to this one.)
I have successfully added LZW compression to my gdal library. I simply
followed the instructions in the libtiff-lzw-compression-kit-1.5.tar.gz file
from the libtiff ftp site. I replaced the tif_lzw.c stub in
gdal/frmts/gtiff/libtiff with the one from the tar file and recompiled.
Everything worked fine.

Just in case anyone else wanted to know.

Thom




More information about the Gdal-dev mailing list