[Gdal-dev] Block size consistency
sjahputerao at missouri.edu
Tue Feb 6 19:31:31 EST 2007
If we have a multi-channel image, is it safe to assume that the block height and width are the same for all channels?
suppose DS is a (GDALDataset*) of a 4-channel image, then
int widthi, heighti, widthj, heightj;
(DS->GetRasterBand(i))->GetBlockSize( &widthi, &heightj );
(DS->GetRasterBand(j))->GetBlockSize( &widthi, &heightj );
are widthi == widthj and heighti == heightj for all i != j ?
More information about the Gdal-dev