Saving CFbsBitmap to File
Hi i want to save a CFBsBitmap to file and i am trying it by calling aFrame in to a file. Actually i have done many kind of programming in a Symbian operating system but not in a professional way so i do not know how to do this. I thought there will be something like aFrame.Save (Filename,FileOptions,Compression). But i guess it did not worked.
Re: Saving CFbsBitmap to File
I think you should check it in the SDK docs or in to the header file for more informations about saving a CFBsBitmap file. I think there is Save functions has been provided. I am not sure that you can do it in that way but still you may check from the SDK docs. You have to type the name "CFBsBitmap" in the search field which opens an API in which you can find out the Save() function in the list.
Re: Saving CFbsBitmap to File
I think it should be working with the CImageEncoder which helps you to save the file in whichever format you want as it encodes the file. But i have found problem when i try to use iEncoder->ConvertL(...). I do not get this part but it seems that t can work in this way or the other. So you have search a little bit more for the same issue but i guess you must try some around this as well.
Re: Saving CFbsBitmap to File
Hello guys even i am having the problem while saving the images in to a file in symbian operating system. Actually i have found a way to save CFbsBitmap to jpeg but found bit difficult to save it in a 24 bit. Actuallyi am trying to save the CFbsBitmap without any change in the 24 bit pixel. Is anybody there who can give me a solution for this?
Re: Saving CFbsBitmap to File
I would like to tell you that the JPEGs are lot different image type then that of Bitmap images, JPEG are compressed, vectorized which is not like that in case of Bitmap. You will not be able to save a 24-Bit BITMAP in to a JPEG without loosing any quality of an image. Actually compression algo skips some of the bits on each pixel and JPEG algorith has pixel prediction. Bitmap images needs atleast 3 bytes per pixel where as JPEG only uses 2 bytes per pixel so ultimately.