Guest mix99 Posted May 11, 2005 Report Share Posted May 11, 2005 HI, I have a problem with htc camera api by cowburn. I would to capture a byte[] and no a jpg file. So I modify the source of camcapturePPC provided in HTCcameraApi zip, but i have some problem. For example HTCcamera class has two capture method: public void Capture(string folder) public void Capture(string folder, captureType) If I choose captureType= Data (so, byte[]) instead of File, what folder must I handle in Capture method??? I tried: camera.Capture(string.Empty,CaptureType.Data); camera.Capture(null,CaptureType.Data); camera.Capture("",CaptureType.Data); but when I press Get New Image Button a Message Box Error is displayed: "Please check the options you have configured for the camera." PLEASE HELP ME!!!!! I would to capture a byte[] and then i would to show this image (byte[]) on a PictureBox without save it on file. I send email to cowburn, but he says that he doesn't offer support! My question is: How must I modify the camCapturePPC source code to get byte[] and then paint an image from this byte[] to show the photo on a PictureBOX??? Thank you very much in advance!!! PS Excuse me for my wrong english!!! Mauro Link to comment Share on other sites More sharing options...
Guest Chaps555 Posted June 1, 2005 Report Share Posted June 1, 2005 heloo , I also tried the same thing and faced the same problem and have same error.. dont know why, but my present issue is that how can i get this workinng with evc++. Regards chaps Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now