[gdal-dev] gdalwarper --formats inconsistent with -of flag?
Chaitanya kumar CH
chaitanya.ch at gmail.com
Fri Nov 19 04:30:13 EST 2010
I too noticed this problem. I'm not sure of the reason other than the error
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, <ariasgore at gmx.de> wrote:
> 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"
> 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
> gdal-dev at lists.osgeo.org
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev