Questions tagged [wia]

Windows Image Acquisition (WIA) is the still image acquisition platform in the Windows family of operating systems starting with Windows Millennium Edition (Windows Me) and Windows XP.

See details on MSDN: Windows Image Acquisition (WIA).

268 questions
5
votes
3 answers

C# WIA with Automatic Document Feeder (ADF) retuns only one page on certain scanners

I have a HP Scanjet 7000 (duplex & ADF scanner) and a HP Scanjet 5500c (only ADF) and a scanner program I'm developing which uses WIA 2.0 on Windows 7. The problem is that the code works perfectly on the older scanner model, but on the newer one the…
Thomas Elstrøm
  • 81
  • 1
  • 1
  • 6
4
votes
3 answers

Detect all available scanner resolutions using WIA

How can I programmatically detect all available resolutions (in dpi) for a specified scanner using WIA 2.0? What about page sizes supported? Any ideas?
romrom
  • 41
  • 1
  • 3
4
votes
2 answers

Take a picture from Integrated Laptop Camera using C#

I am trying to write one portion of my huge C# program that allows me to capture one picture from the integrate camera in the laptop. I have already done my research and i notice that there are 2 ways to do this via WIA and DirectShow. I am trying…
abduls85
  • 528
  • 7
  • 14
4
votes
1 answer

WIA.Vector via Enumerator returns something which is not a number

When accessing the members of the WIA Vector object directly using the Vector's Item property, or using the default property, they are seen by JScript as numbers: var v = new ActiveXObject('WIA.Vector'); v.SetFromString('This is a test', true,…
Zev Spitz
  • 10,414
  • 4
  • 49
  • 114
4
votes
1 answer

WIA: device.ExecuteCommand(CommandID.wiaCommandTakePicture); returns null

Have an old program I have been using to remotely control a digital camera, in order to automatically take photos and transfer them to the PC. Program is based on WIA and, as far as I remember, it was originally designed and used on Windows…
Thingfish
  • 113
  • 1
  • 3
  • 7
4
votes
1 answer

Take a picture automatically using a webcam in C# using WIA

I'm using WIALib to access my webcam. The code I'm developing is pretty simple: when a button is pressed a webcam picture is taken, and then displayed in a picture box. I can already take pictures with my webcam, but it isn't yet fully automated.…
Micael
  • 53
  • 1
  • 1
  • 5
4
votes
1 answer

WIA 2.0 Duplex property

I am developing an aplication with C# to use the WIA 2.0 library. At the moment I could use most of the features, such as ADF (auto document feeder), filters and more. Now, I need to use the duplexer of my scanner (fujitsu). I'm trying to set the…
Andrey
  • 431
  • 1
  • 6
  • 17
4
votes
1 answer

Windows Image Acquisition: How to hide scanner setup window

I use WIA library to scan images in my app. Can I set scanner settings (colorfull, grayscell, dpi....) programmaticaly in my app and not show every time scanning settings to end user? I use next code to get an image from scanner public…
Polaris
  • 3,343
  • 10
  • 46
  • 61
4
votes
1 answer

WIA can not find my internal camera in windows 7

I am currently working on a project where I need to access a build in camera (software will run on a tablet), stream what the camera is showing, and allow the user to take a picture from the stream. I have a version of what I am trying to accomplish…
Matt
  • 156
  • 1
  • 8
4
votes
1 answer

Using COM objects with WIA and com4j in Java

I am a newbie in this and I wanted to ask if you could recommend me some articles, examples etc to start with communicating with scanner in java application I am developing a module that should communicate with different scanners conected directly…
Zavael
  • 1,948
  • 1
  • 26
  • 38
4
votes
1 answer

Alternatives to WPD/WIA on Windows XP?

WPD does not work correctly on Windows XP (SP1 if that matters), even if Microsoft states it does. Problem with WPD: IPortableDeviceManager.GetDevices call does not find any devices on Win XP while it finds all connected cameras on Windows 7. A few…
Marek
  • 10,095
  • 7
  • 64
  • 105
4
votes
1 answer

WIA Twain support C#

How can I use WIA and Twain in C#? The TWIAIN/C# example found at http://www.codeproject.com/KB/dotnet/twaindotnet.aspx Throws an exception at line 59 on TwainLib.cs "an attempt was made to load a program with an incorrect format." on Vista 64. I…
user19302
4
votes
1 answer

WIA 2 on Windows 7 -- Delphi

WIA 2 on Windows 7 doesn't detect my camera while WIA 1 on Windows XP detects it. I try to run my program as admin. My camera is : Asus usb2 webcam. Delphi return the message: (like this) not available any wia devices from specified type…
Ahmad
  • 41
  • 1
  • 5
3
votes
0 answers

Scan Documents in Silverlight In-Browser application

How can i connect to scanner and scan a document in silverlight in-browser application?! My Application run on Intranet and all clients use windows as operating system. Any way Or code is there to do this? Any Component Java Script code Have an…
Hossein Moradinia
  • 5,696
  • 14
  • 54
  • 85
3
votes
3 answers

How to develop using WIA 1 under Vista?

I'm using VS2008 SP1 under Vista SP1. My .Net-program uses a COM reference to WIA (Microsoft Windows Image Acquisition Library v2.0). I'm using CommonDialogClass.ShowAcquireImage to scan a document and it's working fine. One of my customers is…
Lars
  • 5,659
  • 1
  • 18
  • 21
1 2
3
17 18