Go Back   TechArena Community > Hardware > Portable Devices
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 21-04-2010
Member
 
Join Date: Feb 2010
Posts: 570
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.

Last edited by little-Jacqueline : 21-04-2010 at 11:31 PM.
Reply With Quote
  #2  
Old 21-04-2010
Member
 
Join Date: Jan 2006
Posts: 4,545
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.
__________________
In The Absence Of Light
Darkness Prevail's
Reply With Quote
  #3  
Old 21-04-2010
Member
 
Join Date: Oct 2008
Posts: 454
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.
Reply With Quote
  #4  
Old 21-04-2010
Member
 
Join Date: Dec 2008
Posts: 950
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?
Reply With Quote
  #5  
Old 22-04-2010
Member
 
Join Date: Oct 2008
Posts: 267
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.
Reply With Quote
Reply

  TechArena Community > Hardware > Portable Devices
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Saving CFbsBitmap to File"
Thread Thread Starter Forum Replies Last Post
Firefox prompting for saving PDF file Lachlann Technology & Internet 7 15-09-2011 10:23 AM
File saving problem in Opera 10.1 Gavin.B Technology & Internet 5 25-12-2009 12:25 PM
Issues while Saving file in Windows 7 Roxy_jacob Operating Systems 3 04-12-2009 08:26 AM
saving console content to file puk284 Software Development 2 01-05-2009 08:02 AM
Saving to JPG file DisCount Customize Desktop 3 13-09-2008 01:10 PM


All times are GMT +5.5. The time now is 07:15 AM.