Re: [gdal-dev] Transposing image data using RasterIO

2011-06-17 Thread Frank Warmerdam
On 11-06-17 03:23 PM, Paul Mallas wrote: Hello, I am trying to transpose image data (i.e., swap lines and columns) and am struggling to make it work properly. I think this should be possible through RasterIO, but so far no luck. Any suggestions? My approach so far has been like this, with image

[gdal-dev] Transposing image data using RasterIO

2011-06-17 Thread Paul Mallas
Hello, I am trying to transpose image data (i.e., swap lines and columns) and am struggling to make it work properly. I think this should be possible through RasterIO, but so far no luck. Any suggestions? My approach so far has been like this, with image nXsize by nYsize: void *pData = VSIM