[gdal-dev] Re: how to new image file or how to send data into the dataset

Hermann Peifer peifer at gmx.eu
Mon May 31 13:01:10 EDT 2010


On 31/05/2010 10:40, mail2vajram wrote:
>
> i need to create a image file. Here i have brightness values of each pixel in
> a table. by using these values, how can i create an image file.

You could add a few header lines to your table, so that it looks like 
ASCII grid format, see http://en.wikipedia.org/wiki/ESRI_grid

After that, you could use gdal_translate to convert the values into an 
image format, see http://gdal.org/gdal_translate.html

Hermann


More information about the gdal-dev mailing list