[gdal-dev] gdal_tranlate 50% downsample doubling my file size

JK Chen jk.chen at sdl.usu.edu
Thu Jul 28 17:33:57 EDT 2011


Hi,

I used gdal-translate command to downsample a nitf  file,  but the size of generated file almost doubles. Is there something that I did wrong? I can't use this new file because bigger size is not acceptable, even though its display looks correct.

Here is the command I used:

C:\Map\RPF\CIB\I2\2\tmp>gdal_translate -of NITF -outsize 50% 50% 00ev2n1a.i22  half
289,827               00EV2N1A.I22
591,383               half

Thanks.

JK

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110728/4bdc24cb/attachment-0001.html


More information about the gdal-dev mailing list