Main Site Documentation

Display image capture by camera


#1

how to Display image capture by camera in glide?


#2

@ biren - This code works for me:

 
public void camera_PictureCaptured(Camera sender, GT.Picture picture)
        {
           //initiate imgage canvas Glide
           GHIElectronics.NETMF.Glide.UI.Image img_photo = 
               (GHIElectronics.NETMF.Glide.UI.Image)window_Photo.GetChildByName("img_photo");
          //draw image, convert picture from camera to bitmap
           img_photo.Bitmap.DrawImage(0, 0, picture.MakeBitmap(), 0, 0, 240, 205);
           //redraw the image and show on glide image
           img_photo.Invalidate();
         }


#3

have used the codes here, work fine for me too. but i want to use twain technology to capture images c#. can this combine with camera.


#4

@ daimage - welcome to the forum.

it would be best if you start a new thread with your question about twain. you might get an answer faster.