[Gdal-dev] bug: gdalwarp producing larger files than no compression at all

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Feb 1 15:59:53 EST 2007


Dear GDAL,

gdalwarp (fwtools 1.1.4, win32) when using combinations of resampling, 
pixel interleave and compression is producing files which are larger 
than if no compression at all is used, up to twice as large.

    gdalwarp -co compress=lzw -co interleave=pixel -rb \
      source.tif gw_lzw-pix-rb.tif

    gdal_translate -co compress=none -co interleave=pixel  \
      gw_lzw-pix-rb.tif tr_no-comp_pix-int.tif

Result:

    328,390 source.tif
    524,786 gw_lzw-pix-rb.tif
    328,274 tr_no-comp_pix-int.tif

I files a bug with more info and data samples at 
http://bugzilla.remotesensing.org/show_bug.cgi?id=1470

-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------




More information about the Gdal-dev mailing list