[Gdal-dev] gdal_translate

Frank Warmerdam warmerdam at pobox.com
Mon Mar 10 09:35:08 EST 2003


Ayman Kamal wrote:
> 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?

Ayman,

I don't know.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list