how to get value of "TCameraInfo::iNumImageSizesSupported" in the program?????????

Login to reply to this topic.
Wed, 2007-09-26 09:19
Joined: 2007-05-15
Forum posts: 85

Hi,

I am working on S60 3rd edn

I did not succeed using

TInt i=TCameraInfo::iNumImageSizesSupported-1;

Can someone tell what to do???????

With Regards!
Sandeep Mohapatra


Wed, 2007-09-26 10:05
Joined: 2007-05-15
Forum posts: 85
"TCameraInfo::iNumImageSizesSupported"

I recently used the approach-------

TCameraInfo info;
iCamera->CameraInfo(info);
TInt i=info.iNumImageSizesSupported-1;

It compiles good.....
But not sure if it should give the result...........
i will have to wait till I write the full programm.....

I wish some one to tell if this approach is right????????

Thanx.........

Mon, 2007-10-22 23:56
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: how to get value of "TCameraInfo::iNumImageSizesSupported" i

Well, I have made some experiments with my N95 with the following result:
- Number of image sizes (TCameraInfo::iNumImageSizesSupported) supported is 5
- Formats supported (TCameraInfo::iImageFormatsSupported) are as follows: bitmap4k, bitmap64k, bitmap16m, exif.
- Supported image sizes are as follows: 2592x1944 (5M), 2048x1536 (3M), 1600x1200, 1024x768 and 640x480. Worth noting that this list is ordered and can be used with CCamera::EnumerateCaptureSizes() method

Interestingly when format is one of the three bitmaps, then only 640x480 or 1024x768 is supported. On the contrary, when exif is the format I could choose any of the resolutions.

Tote


Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

  • Login to reply to this topic.