You can start by looking at the tutorial: http://gdal.org/gdal_tutorial.html
The section "Using Create()" shows how to create new files. Other examples in C or C++ can be found at the /apps folder. Regards. > -------Original Message------- > From: cudars <[email protected]> > Subject: [Gdal-dev] how to write out a tiff file using GDAL? > Sent: Dec 04 '09 09:16 > > > I am quite new to GDAL. > I want to read a big remote sensing image (tiff file format),do the digital > image process, then write the result to a tiff file. The program language is > C++. > > I have finished read in the digital image file and digital image processing. > > As the image file has several bands. I do not know how to write out a tiff > file. > > Should I use create or createcopy? The gdalenhance source code using > VRTDataset. In my case, should I use VRTDataset ? I did not understand the > gdalenhance source code so far. > > Could anyone give me a example to illustrate how to write out a tiff file in > GDAL? > > Thanks in advanced. > > -- > View this message in context: > http://n2.nabble.com/how-to-write-out-a-tiff-file-using-GDAL-tp4112637p4112637.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
