[Gdal-dev] Block size consistency
Ozy Sjahputera
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?
e.g.
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 ?
Thanks
Ozy
More information about the Gdal-dev
mailing list