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?
Setting webcam resolution;
Moderator: Alex
Re: Setting webcam resolution;
Hello,
What camera do you have? I think your camera supports only 75 dpi resolution.
Best regards, Alexander
What camera do you have? I think your camera supports only 75 dpi resolution.
Best regards, Alexander
Re: Setting webcam resolution;
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;
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?
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;
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
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;
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
____________________________
market samurai ~ marketsamurai ~ marketsamurai.com
Last edited by evalyne on Fri Sep 09, 2011 12:38 pm, edited 1 time in total.
Re: Setting webcam resolution;
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
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