hi,
I am using CImageDecoder to decode an image(any type rgb image) to bitmap. While decoded using the code below:
This code works asynchronously. After i get the bitmap, i find that each pixel is having depth 4, i.e. red, green, blue and alpha. But i need only image decoded as black & white... or grey-scale (of depth 1). I need it because of low device memory. Later on i have to resize the image that should be done using the same depth, that is depth 1. I looked at SDK but could not understand everything there. There they used a term as "EGray2", and "EGray256", but it is used in Simple on/off masking . Any of your suggestion would help me.Code:ibitmap->Create(iImageDecoder->FrameInfo(0).iOverallSizeInPixels, iImageDecoder->FrameInfo(0).iFrameDisplayMode); iState = EConverting; iImageDecoder->Convert(&iStatus,*ibitmap,0); SetActive();



