[Gdal-dev] Gdal interface function

Ayman Kamal kamal_jo at yahoo.com
Tue Feb 18 12:38:12 EST 2003


I want to use a mechanism similar to what
"GDALCreateCopy" uses to write the data to a disk file

is this possible?
Can you help me further?
--- Frank Warmerdam <warmerdam at pobox.com> wrote:
> 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.
> 
> Ayman,
> 
> 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.
> 
> Later,
> 
> -- 
>
---------------------------------------+--------------------------------------
> 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
> 
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal-dev


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com



More information about the Gdal-dev mailing list