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.
Forum posts: 85
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.........
Forum posts: 721
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/