It looks like ECam might support capturing images from the camera directly in JPEG format, perhaps by using something like:
iCamera->PrepareImageCaptureL( CCamera::EFormatJpeg, 0 );
and then having the data returned in the HBufC8 parameter in:
"ImageReady(CFbsBitmap* aBitmap, HBufC8* aData, TInt aError)".
Unfortunatly I can't get it to work on a 6630, I get "Feature Not Supported" when PrepareImageCapture() is executed.
This could potentially be much faster than capturing the image as a bitmap and then using "CImageEncoder" to convert it to JPEG for saving.
Am I doing this right? Is this the way to get a JPEG encoded HBufC8 directly from the CCamera? If not on the 6630, is this supported by other models? Is there another way to do it?
Interestingly CCamera has a function to set the JPEG quality:
iCamera->SetJpegQuality( TInt );
So one might assume you could get a JPEG encoded descriptor back...
Any help is greatly appreciated.