I am trying to magnify a webcam image. At present, I can see the webcam image in a MediaView and take a picture of the image and display it in a PictureBox. The part I can't work out is how to 'zoom in' on the image. I am aware that there may be issues with image quality when 'zoomed'.
I have attached some code that will give you an idea.
Any help appreciated.
Image zoom
Image zoom
You do not have the required permissions to view the files attached to this post.
Re: Image zoom
I have made some progress: -
You do not have the required permissions to view the files attached to this post.
Re: Image zoom
Hello cogier,
by using your second code, it seems to me that the problem is basically solved.
by using your second code, it seems to me that the problem is basically solved.
Europaeus sum !
Amare memorentes atque deflentes ad mortem silenter labimur.
Amare memorentes atque deflentes ad mortem silenter labimur.
Re: Image zoom
Hello cogier,
just a question: ...why did not use ".Stretch()" Picture Method ?
just a question: ...why did not use ".Stretch()" Picture Method ?
Europaeus sum !
Amare memorentes atque deflentes ad mortem silenter labimur.
Amare memorentes atque deflentes ad mortem silenter labimur.
Re: Image zoom
Hi vuott,
I set the PictureBox property to Stretch = True. I used Picture.Copy method to display the image. You can see all this in the WebCamViewer-0.2.tar.gz file above.
It works, but does not do what I want. The loss of picture quality as you zoom in is terrible! I would need a much better camera than the cheap webcam I am using.
I set the PictureBox property to Stretch = True. I used Picture.Copy method to display the image. You can see all this in the WebCamViewer-0.2.tar.gz file above.
It works, but does not do what I want. The loss of picture quality as you zoom in is terrible! I would need a much better camera than the cheap webcam I am using.