Camera application: Please Help

Login to reply to this topic.
Mon, 2005-09-26 07:03
Joined: 2005-08-24
Forum posts: 34
Hello All,

I am working on a Series 60 camera application on Symbian OS 7.0 under Borland C++ BuilderX

Alongwith the camera application I am providing a facility of some frames which the user can select & then use that frame to capture a still image

I am able to save the frame that I am supplying to the user alongwith the captured image to the media gallery folder but when it gets saved the resolution of the frame doesnot match with that of the captured image as the frame gets aligned to the corner of the screen small in size

Is there any way where I can get the resolution of the camera so that I can match that with the frame that I am supplying while trying to save it


Waiting for a reply,

Yogesh

Thu, 2005-09-29 06:38
Joined: 2004-10-18
Forum posts: 40
Re: Camera application: Please Help
Use CCamera::EnumerateImageSizesL() method.
Fri, 2005-09-30 15:29
Joined: 2005-08-24
Forum posts: 34
Re: Camera application: Please Help
Hi,

Are u talking about EnumerateCaptureSizes() in CCamera class ?

Because there's no method by the name EnumerateImageSizesL() under CCamera

If yes, kindly provide the implementation of the same



Regards,

Yogesh

Mon, 2005-10-03 06:59
Joined: 2004-10-18
Forum posts: 40
Re: Camera application: Please Help
Sorry, my mistake.

I meant EnumerateCaptureSizes() method. I suggest you read read the documentation on how to use the method. Basically you give size index and image format as parameter and get the corresponding TSize back. Note that if TSize is (0,0) the size/format combination is not supported.
  • Login to reply to this topic.