does prepareImageCapture() works for YUV format(it's urgent)

Login to reply to this topic.
Sat, 2005-08-06 09:04
Joined: 2005-08-04
Forum posts: 14
hi all,
  Iam trying to capture image from camera in YUV format,but execution stops at
                           prepareImageCapture(CCamera::EFormatYUV420Planar),0
function with parameters for YUV format.
Anyone pl help me.
Thanx in advance for help
bye
Amit Mittal

Wed, 2005-08-10 07:46
Joined: 2004-10-18
Forum posts: 40
Re: does prepareImageCapture() works for YUV format(it's urgent)
Most likely YUV420 is not supported image capture format and PrepareImageCaptureL leaves...
Fri, 2005-08-12 06:24
Joined: 2005-08-12
Forum posts: 7
Re: does prepareImageCapture() works for YUV format(it's urgent)
I suggest you call CameraInfo() to find if the image capture is supported or not. This can be found out by checking iOptionsSupported field of TCameraInfo.

If image capture is supported then you can find out different formats and sized supported by checking the field iImageFormatsSupported and iNumImageSizesSupported.

If you use any other format and size returned by CameraInfo() then PrepareImageCaptureL() will leave with KErrNotSupported.

Zamir
  • Login to reply to this topic.