Re: [gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images

2010-06-17 Thread Frank Warmerdam
On Thu, Jun 17, 2010 at 11:03 AM, Zermeno, Robert J CIV NAVAIR, 472100D wrote: > > GDALBeginAsyncReader(fileDataset, >        0, 0,                           //Start at top-left position >        ImageWidth, ImageHeight,        //Note, I am requesting whole image. >        JPIP_Buffer, >        Bu

RE: [gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images

2010-06-17 Thread Zermeno, Robert J CIV NAVAIR, 472100D
CIV NAVAIR, 472100D Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images On Wed, Jun 16, 2010 at 12:51 PM, Zermeno, Robert J CIV NAVAIR, 472100D wrote: > Do I call GDALBeginAsyncReader() three times like RasterIO?  One call > f

Re: [gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images

2010-06-16 Thread Frank Warmerdam
On Wed, Jun 16, 2010 at 12:51 PM, Zermeno, Robert J CIV NAVAIR, 472100D wrote: > Do I call GDALBeginAsyncReader() three times like RasterIO?  One call for > Red, one for Blue, > and Green? Robert, The AsyncReader API allows reading multiple bands in one pass, much like the RasterIO call on the

[gdal-dev] Proper parameters for GDALBeginAsyncReader() for RGB images

2010-06-16 Thread Zermeno, Robert J CIV NAVAIR, 472100D
Hi everyone, I hope someone can clarify my issue when it comes to an RGB jpeg2000 image call Using GDALBeginAsyncReader(). I can use this function already for Grayscale images, but Having problems getting RGB colors to work. In streaming jpeg2000 images (JPIP),How do you properly use GDALBegin