[gdal-dev] reprojecting a georeferenced image (PNG, JPG)

Mateusz Loskot mateusz at loskot.net
Mon Aug 4 09:42:12 EDT 2008


Tim Michelsen wrote:
> Hello,
> I have a PNG file with some transparent areas.
> I used QGIS to georeference the file using the latlon/WGS84 projection settings.
> Within this process, a world file (*.wld) and a point file where created.
> 
> Now, I'd like to reproject this image into another projection.
> 
> How do I have run gadlwarp that:
> * the transparen regions in the PNG are being maintained tranparent and
> * a new word file is written which corresponds to the new projection settings?
> 
> I tried to run the program with "-worldfile=yes" but no new worlfile was written.

Tim,

You have not shown us the exact command you tried, but have you included
-t_srs option, and name of source and output files?

Regards
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list