<div dir="ltr"><div><div>Hi,<br></div>could you run a gdalinfo on your origin file and provide us the output?<br>Wondering if its datatype is float and a straight gdal_translate (without scaling applied) truncate all values when going to Byte PNG.<br>

<br></div>Cheers,<br>Daniele<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">==<br>
GeoServer Professional Services from the experts! Visit<br>
<a href="http://goo.gl/NWWaa2" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>
==<br>
<br>Ing. Daniele Romagnoli<br>Senior Software Engineer<br><br>GeoSolutions S.A.S.<br>Via Poggio alle Viti 1187<br>55054  Massarosa (LU)<br>Italy<br>phone: +39 0584 962313<br>fax:      +39 0584 1660272<br><br><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br>

<a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a><br><br>-------------------------------------------------------<br></div></div>
<br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 11:22 AM, Belén <span dir="ltr"><<a href="mailto:beln1@hotmail.com" target="_blank">beln1@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">Hello!<br>My name is Belén and i'm trying to convert a .bil file (.bil and .hdr) to a .png using gdal_translate, it seems to work fine, there are no error messages but when I open the .png file, I only have a big completely black square.<br>

There's some special thing I should be doing? I'd appreciate any help, because I'm completely lost.<br><br>Thank you very much in advance.<br><br>Regards.<br><br>Belén Muñoz.<br>                                        </div></div>
<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></blockquote></div><br></div>