only 'corner' of photo

Login to reply to this topic.
Tue, 2006-02-21 13:04
Joined: 2005-11-28
Forum posts: 101
hey
Im making a photo on 6.1 using camera serv...
- new
- connect
- turn on
- SetLightingConditions(RCameraServ::ELightingNormal);
- SetImageQuality(RCameraServ::EQualityHigh);
- GetImage(status2, *(iAppView->iBmp));
- turn off
- close
- delete
of course user::Waitforrequest..
and all is ok the picture is taken but when i display it i can only see 'a corner' of my photo. Shall i use some scaling or what to see it all ?
(on 7.0 with ccamera the same problem was solved with PrepareImageCaptureL(ImageFormatMax(),0); but what shall i do here ? )

Thank you
BG

Wed, 2006-02-22 05:34
Joined: 2005-07-06
Forum posts: 53
Re: only 'corner' of photo

default camera image size is 640*480

try

gc.DrawBitmap(TRect(0,0,176,208), iBitmap, iBitmap->SizeInPixels());
Wed, 2006-02-22 08:27
Joined: 2005-11-28
Forum posts: 101
Re: only 'corner' of photo
yea that works cool !

Thank you
  • Login to reply to this topic.