[Gdal-dev] how to draw images on Windows

Ben Discoe ben at vterrain.org
Fri Mar 5 17:19:31 EST 2004


Just as a point of reference, the open-source application VTBuilder, in the
free VTP software, uses exactly this approach to read GDAL files and render
them as DIBSections on Windows, and has been available for years.

And yes, it is "fast as snot" on Win32  :)

The frustrating thing is on Linux, there are no DIBSections so it is
painfully slow to scroll around large images...

-Ben
http://vterrain.org/

> -----Original Message-----
> From: Chapman, Martin
> Sent: Friday, March 05, 2004 5:05 PM
> To: gdal-dev at remotesensing.org
> Subject: RE: [Gdal-dev] how to draw images on Windows
>
> All,
>
> 1. First of all you need the attached helper class which
> represents a windows DIB Section, add this class to your
> application. 
>
> 2. You need to open the image with GDAL and get the 3 bands
> you want to use as rgb [...] 




More information about the Gdal-dev mailing list