Hi,
I need to get an Image of 320x480.
When I take a grab a picture using CCamera::CaptureImage(), I get an Image of 1280x960.
SO after getting the bitmap, I resize it using CBitmapScaler::Scale()
Everything works fine this way but the CBitmapScaler::Scale() takes 3 secs to execute. (Here I am not doing anything. I am simply calling the scale method of the CBitmapScaler giving the new height and width as parameters)
Is it possible to set some properties of CCamera so that the CaptureImage function itself returns a bitmap of 320x240 instead of 1280x960
OR
Can someone tell me how can I speed up the CBitmapScaler::Scale()
I think the former will be the better solution if possible.
Thanks and Regards,
Neelesh

Reply With Quote


