Sam, I too noticed this problem. I'm not sure of the reason other than the error message. You can get this done in two steps. First use gdalwarp to change the image size to 256x256 using bilinear resampling into a GTiff format image. Then use gdal_translate it from GTiff to PNG.
On Fri, Nov 19, 2010 at 1:24 PM, <[email protected]> wrote: > 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 > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
