[Gdal-dev] gdal_translate

Ayman Kamal kamal_jo at yahoo.com
Mon Mar 10 06:38:11 EST 2003


I used your application gdal_translate to convert a 16
bit GeoTiff file to an 8 bit bmp file using command
line arguments:

gdal_translate -of bmp -ot byte -scale one.tif two.bmp

and it worked fine,

I then switched to  your source code of gdal_translate
and put all the needed dlls and lib files and it
compiled correctly, but the result of its conversion
for the same file resulted in an image all black, why
is that?

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the Gdal-dev mailing list