[Gdal-dev] Gdal interface function

Frank Warmerdam warmerdam at pobox.com
Tue Feb 18 09:26:16 EST 2003

Ayman Kamal wrote:
> I use Gdal to convert a geotiff file into bmp, now
> instead of saving the bmp on a disk file, I need to
> get the memory buffer that contains the bmp data.
> So, what interface functions do I have to use from
> Gdal to accomplish this? And in what format does this
> data come ( int, unsigned int, ..)?
> If there is a help file that contains all interface
> functions in general that will be great so that I
> don't refer to you for future quries about other functionalities.


There is no mechanism in place currently for creating formats like BMP
strictly in memory.  You want the data in BMP format in memory, right?
Of course, you can write it to disk, and then read it into memory.


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