[gdal-dev] RasterIO Writing Packed RGB data

Martin Chapman chapmanm at pixia.com
Thu Aug 6 17:50:45 EDT 2009

I'm using the RasterIO method on the GDALDataset object and trying to write
a buffer where the pixels are packed as RGBRGBRGB etc. and having trouble
figuring out what parameters to pass as the pixel, line and band space.  My
desired output is a 3 band geotiff and the source and dest datatype is byte.
Can anyone point me the write direction on how to use those parameters in
this case?


Thanks in advance,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090806/6d427d0b/attachment.html

More information about the gdal-dev mailing list