Re: [gdal-dev] How to add alpha channel to tiff image - C++ code

2012-10-03 Thread mighty_duck
Hi Even, thanks for your quick reply and explanation. I would kindly ask you for more help, since I'm just trying to adapt this code quickly while still learning all those concepts... If I understood you well, those are changes: hDstDS = GDALCreate(driver, output.c_str(), resX, resY,

Re: [gdal-dev] How to add alpha channel to tiff image - C++ code

2012-10-03 Thread mighty_duck
Hi Even, thanks for your quick reply and explanation. I would kindly ask you for more help, since I'm just trying to adapt this code quickly while still learning all those concepts... If I understood you well, those are changes: hDstDS = GDALCreate(driver, output.c_str(), resX, resY,

[gdal-dev] How to add alpha channel to tiff image - C++ code

2012-10-03 Thread mighty_duck
Hi all, I have the following code: bool grImageWarper::createDstRaster(const std::string &output, GDALDatasetH hSrcDS, GDALDatasetH &hDstDS, int resX, i