[Gdal-dev] gdal_translate

Andrey Kiselev dron at ak4719.spb.edu
Sat Mar 15 08:00:13 EST 2003


On Sat, Mar 15, 2003 at 03:10:57AM -0800, Ayman Kamal wrote:
> Below is the "gdalinfo" data for a geotiff file, I
> used "gdal_translate" to convert this file to a bmp
> file, the resulting file appeared as all white, when I
> removed the -scale option the resulting bmp file
> appeared correct.
> 
> Can you help me?
> ------------------------------------------------------
> Driver: GTiff/GeoTIFF
> Size is 375, 473
...
> Band 1 Block=375x1 Type=Float32, ColorInterp=Gray

It is possible you have input data which cannot be scaled to range
0--255 without additional processing.


-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list