id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 1470,"gdalwarp with pixel interleave, resample, and compress makes huge files",matt.wilkie@…,warmerdam,"Using gdalwarp with -co interleave=pixel produces larger files than gdal_translate does with the same option. Combining pixel interleaving with resampling and compression makes even larger files than when no compression at all is used. When the 3 are used together I get file sizes up to 200% larger than no compression at all. {{{ Original: 328,390 source.tif Various combinations of gdalwarp -co [options]: # lzw -co compress=lzw # pix -co pixel=interleave # rb -rb 165,284 gw_lzw.tif 263,640 gw_lzw-rb.tif 304,716 gw_pix-lzw.tif 340,604 gw_pix-rb.tif 340,604 gw_pix.tif 524,786 gw_lzw-pix-rb.tif *** The above pushed through gdal_translate -co compress=lzw -co interleave=pixel: 123,292 tr_gw_lzw.tif 123,292 tr_gw_pix-lzw.tif 123,292 tr_gw_pix.tif 123,408 tr_source.tif ...and with gdal_translate -co compress=none 328,274 tr_nocomp_gw_lzw-rb.tif ...etc. ...and with gdal_translate -co compress=none -co interleave=pixel: 328,274 tr_nocomp-pix_gw_lzw-rb.tif ...etc. Command lines to produce these files: gdalwarp -co interleave=pixel source.tif gw_pix.tif gdalwarp -co compress=lzw source.tif gw_lzw.tif gdalwarp -co compress=lzw -co interleave=pixel -rb source.tif gw_lzw-pix-rb.tif }}}",defect,closed,normal,1.4.1,GDAL_Raster,1.4.0,major,fixed,,