[gdal-dev] gdal_translate png from geotiff resolution problem

Frank Warmerdam warmerdam at pobox.com
Fri Apr 16 10:19:13 EDT 2010

achrysochoou wrote:
> Hi, 
> I used this command "gdal_translate -of PNG test.tif test.png" and i got a
> 300KB PNG from a 650KB (just the image file) GEOTIFF. 
> I was wondering if there is a method to extract the image from the geotiff
> or not lose data in the conversion process?


The PNG format is compressed so you likely have not lost any image quality
in the translation process.  PNG does not inherently include coordinate system
or georeferencing though so you may well have lost this or other metadata.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the gdal-dev mailing list