<span>Sam,<br><br>I too noticed this problem. I&#39;m not sure of the reason other than the error message.<br>You can get this done in two steps.<br>First use gdalwarp to change the image size to 256x256 using bilinear resampling into a GTiff format image.<br>
Then use gdal_translate it from GTiff to PNG.<br></span><br><div class="gmail_quote">On Fri, Nov 19, 2010 at 1:24 PM,  <span dir="ltr">&lt;<a href="mailto:ariasgore@gmx.de">ariasgore@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I have issues generating pngs out of gdalwarper.<br>
<br>
I did the following:<br>
$ gdalwarper.exe --formats<br>
<br>
One of the lines was:<br>
PNG (rwv): Portable Network Graphics<br>
So reading and writing png works!<br>
Here complete list dump <a href="http://pastebin.com/ZRS2nZir" target="_blank">http://pastebin.com/ZRS2nZir</a><br>
<br>
Then I tried<br>
gdalwarp.exe -ts 256 256 -of PNG -r bilinear &quot;utm32.tif&quot; &quot;d:/thumb_gdal.png&quot;<br>
<br>
and it failed with:<br>
Output driver `PNG&#39; not recognised or does not support<br>
direct output file creation.  The following format drivers are configured.<br>
Then it dumped a list of supported extension and no PNG was found.<br>
Here is the list: <a href="http://pastebin.com/wsD3rD7f" target="_blank">http://pastebin.com/wsD3rD7f</a><br>
<br>
Why is there an inconsistency between them?<br>
<br>
<br>
(GDAL 1.7.1, Win XP)<br>
<font color="#888888">--<br>
GMX DSL Doppel-Flat ab 19,99 &amp;euro;/mtl.! Jetzt auch mit<br>
gratis Notebook-Flat! <a href="http://portal.gmx.net/de/go/dsl" target="_blank">http://portal.gmx.net/de/go/dsl</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>