weixj2003ld,

I couldn't open the link.
Try "gdalinfo -mm des.png" on both the output images. I think they will both
give the same output. UInt16 should give a dark image unless you perform
histogram equalization on it.

2010/5/11 weixj2003ld <[email protected]>

> I download a elevation data (SRTM,GTOPO30) from
> http://glcfapp.glcf.umd.edu:8080/esdi/index.jsp
>
>  use
> gdal_translate -b 1 -of PNG -ot Byte source.tif des.png
> and
> gdal_translate -b 1 -of PNG -ot UInt16 source.tif des.png
> differently,
> with parameter 'UInt16',I get a black picture,with Byte,get a different
> one,why?
> BTW,I want to get a png file from elevation data(.tif),must I use command
> gdal_translate?
> Thk u in advance.
>
>
>
>
> ------------------------------
> 网易为中小企业免费提供企业邮箱(自主域名) <http://ym.163.com/?from=od3>
> _______________________________________________
> 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-9848167848
17.2416N 80.1426E
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to