Windows Image Acquisition

  • Thread starter Thread starter John Young
  • Start date Start date
J

John Young

I'm not sure if this is the correct newsgroup, but I have a webcam which I
am streaming a video stream from using WIA. The stream is at 320x240 but I
would like to either stream at 640x480 or resize on the fly.
Is there a way of making a panel resize the image like you can with a
picturebox??

Thanks in advance

John Young
 
Ah ha! I used the Handle property of the picturebox control, which allowed
me to stream into the picturebox, although the stretchimage part won't work.
I'm wondering whether that has something to do with the fact that WIA uses a
video overlay.??

Thanks
 
* "John Young said:
I'm not sure if this is the correct newsgroup, but I have a webcam which I
am streaming a video stream from using WIA. The stream is at 320x240 but I
would like to either stream at 640x480 or resize on the fly.
Is there a way of making a panel resize the image like you can with a
picturebox??

Why do you use a panel?!
 
Hi Herfried,

I was using a panel because the code I was using had used a panel for the
video overlay. I have since changed that to a picturebox (I didn't know
about the Handle property of panels and pictureboxes). But even so, I
cannot get the picturebox to resize the video I am placing in it. As I said
on my other post, I think it has something to do with WIA using a video
overlay. Maybe there is something in WIA that could help me.

Thanks for your help.
 
Back
Top