[gdal-dev] gdalwarper --formats inconsistent with -of flag?

ariasgore at gmx.de ariasgore at gmx.de
Fri Nov 19 02:54:01 EST 2010


Hello,

I have issues generating pngs out of gdalwarper.

I did the following: 
$ gdalwarper.exe --formats

One of the lines was:
PNG (rwv): Portable Network Graphics
So reading and writing png works!
Here complete list dump http://pastebin.com/ZRS2nZir

Then I tried
gdalwarp.exe -ts 256 256 -of PNG -r bilinear "utm32.tif" "d:/thumb_gdal.png"

and it failed with:
Output driver `PNG' not recognised or does not support
direct output file creation.  The following format drivers are configured.
Then it dumped a list of supported extension and no PNG was found.
Here is the list: http://pastebin.com/wsD3rD7f

Why is there an inconsistency between them?


(GDAL 1.7.1, Win XP)
-- 
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl


More information about the gdal-dev mailing list