Load()
{
User::CountAllocCells(); // tells how many cells used till now
..
iTempBitmap = new(ELeave) CFbsBitmap();
iTempBitmap->Create( TSize(1,1), KDeviceColourDepth );
iImgLoader->LoadFileL(iTempBitmap, iFileName, 0 );
...
}
ImageOperationCompleteL(TInt aError)
{
User::CountAllocCells(); // tells how many cells used till now
}
------------
my question is : With varying KDeviceColourDepth (EGray2, EGray256, EColor4K , EColor16M) CountAllocCells() must return different
cell count. i.e. memory consumed must increase.