Page 1 of 1

Setting webcam resolution;

Posted: Wed Aug 11, 2010 9:38 pm
by GabVap
Hi,

I'm trying to get/set resolutions for a webcam, but the GetResolutions method returns an empty array, and any value other than the default (75) i try to put in for the resolution cause the error "error to set capability value". Any ideas what i may be doing wrong?

Re: Setting webcam resolution;

Posted: Thu Aug 12, 2010 8:07 am
by Alex
Hello,

What camera do you have? I think your camera supports only 75 dpi resolution.

Best regards, Alexander

Re: Setting webcam resolution;

Posted: Thu Aug 12, 2010 5:15 pm
by GabVap
I have a HP Elite Autofocus webcam. I can change resolution if I use the app that comes with the webcam, (it`s supposed to be a 19.1 Megapixel webcam), so i know it supports more than one. I just can't seem to be able to get the correct values or set them.

Re: Setting webcam resolution;

Posted: Fri Aug 13, 2010 5:44 pm
by GabVap
Maybe i'm not clear with my question.

One of my coworker tells me that 75 dpi is the default and only value for the dpi property of cameras, so maybe i'm not trying to change the right property.

My problem is, the photos i take are coming out in VGA quality (640x480). When i use the app supplied with the camera, i can go up to 5120x3840, and i've got many choice in between (800x600, 960x720, 1024x768.. etc..) That's what i'm trying to change. Anyway to get and set those values? Or would you need any other information to be able to help me?

Re: Setting webcam resolution;

Posted: Sat Aug 14, 2010 5:02 pm
by Alex
Hello,

Most of webcam drivers allow to change resolution only from the User Interface.

Please use the Device.GetSupportedHorizontalResolutions and Device.GetSupportedVerticallResolutions methods and get resolutions supported by webcam.

Best regards, Alexander

Re: Setting webcam resolution;

Posted: Mon Sep 05, 2011 9:26 am
by evalyne
How do you Install your webcam on your laptop if its built into your laptop? I have a Gateway laptop, not sure what type, but it has a 1.3 megapixel webcam on it and i have no idea how to install it. I've looked all over my laptop and i still cant find out a way to install it.
____________________________
market samurai ~ marketsamurai ~ marketsamurai.com

Re: Setting webcam resolution;

Posted: Mon Sep 05, 2011 2:39 pm
by Alex
Hello,

VintaSoftTwain.NET SDK allows to work with any TWAIN devices, this means that you need to have TWAIN or WIA driver for your device (webcam).

Best regards, Alexander