[gdal-dev] Using gdal to generate thumbnails

2011-05-13 Thread António Rocha
Greetings I have a couple of Gtif Images and I want to create thumbnails. Is it possible to do that with GDAL? Thanks Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 6119 (20110513) __ The message was checked by ESET NOD32 Antivirus.

Re: [gdal-dev] Using gdal to generate thumbnails

2011-05-13 Thread Chaitanya kumar CH
António, You can use the gdal_translate utility with the -outsize option. But you may require the original dimensions to maintain the aspect ratio. You can grab the dimensions from the output from the gdalinfo utility. http://www.gdal.org/gdalinfo.html http://www.gdal.org/gdal_translate.html