RE: [gdal-dev] OpenJPEG2000 issues when reading blocks at a time

2011-06-14 Thread Cole, Derek
...@gmail.com] Sent: Monday, June 13, 2011 11:13 PM To: Cole, Derek Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] OpenJPEG2000 issues when reading blocks at a time Derek, Can you provide a screenshot of the displayed image. Especially the scrambled blocks

RE: [gdal-dev] OpenJPEG2000 issues when reading blocks at a time

2011-06-14 Thread Cole, Derek
: Chaitanya kumar CH [chaitanya...@gmail.com] Sent: Monday, June 13, 2011 11:13 PM To: Cole, Derek Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] OpenJPEG2000 issues when reading blocks at a time Derek, Can you provide a screenshot of the displayed image. Especially the scrambled blocks

[gdal-dev] OpenJPEG2000 issues when reading blocks at a time

2011-06-13 Thread Cole, Derek
Hello, I have the following code: qDebug(tilePosX: %i , this-tilePosX); qDebug(tilePosY: %i , this-tilePosY); float * floatData = (float *) CPLMalloc(sizeof(float)*nXSize*nYSize); poBand-RasterIO( GF_Read, this-tilePosX*nXSize, this-tilePosY*nYSize, nXSize, nYSize, floatData,

Re: [gdal-dev] OpenJPEG2000 issues when reading blocks at a time

2011-06-13 Thread Chaitanya kumar CH
Derek, Can you provide a screenshot of the displayed image. Especially the scrambled blocks. On Tue, Jun 14, 2011 at 4:22 AM, Cole, Derek dc...@integrity-apps.comwrote: Hello, I have the following code: qDebug(tilePosX: %i , this-tilePosX); qDebug(tilePosY: %i , this-tilePosY);