Image zoom

Post your Gambas programming questions here.
Post Reply
User avatar
cogier
Site Admin
Posts: 1142
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Image zoom

Post by cogier »

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.
WebCamViewer-0.1.tar.gz
(22.22 KiB) Downloaded 30 times
User avatar
cogier
Site Admin
Posts: 1142
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Image zoom

Post by cogier »

I have made some progress: -
WebCamViewer-0.2.tar.gz
(9.17 KiB) Downloaded 51 times
vuott
Posts: 283
Joined: Wednesday 5th April 2017 6:07pm
Location: European Union

Re: Image zoom

Post by vuott »

Hello cogier,
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.
User avatar
cogier
Site Admin
Posts: 1142
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Image zoom

Post by cogier »

vuott wrote: Wednesday 10th July 2024 6:09pm Hello cogier,
by using your second code, it seems to me that the problem is basically solved.
Thanks vuott. It is improving, I was just wondering if anybody else had any better ideas.
Post Reply