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).

278 questions
5
votes
1 answer

Twain or WIA? A bit lost between this two interface

I need to write a c# assembly (DLL) in order to scan documents. I don't know if I need to use TWAIN or WIA. Anyone could help me please ? What are the différences? What are your advices ? Is there a c# Library ?
Walter Fabio Simoni
  • 5,671
  • 15
  • 55
  • 80
5
votes
1 answer

Automate scanning from multiple scanners on the same computer using WIA and VB

Hello Stack overflow ! I'm the ultimate beginner in programming. I have some experience in php and vba, doing my own scripts as I need them, especially in excel. Recently, for a project at works, I need to be able to scan AUTOMATICALLY (say every 2…
vincent
  • 545
  • 1
  • 5
  • 8
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
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
  • 548
  • 8
  • 15
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
  • 13,950
  • 6
  • 64
  • 136
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
  • 123
  • 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

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,643
  • 10
  • 50
  • 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
  • 166
  • 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
  • 2,383
  • 1
  • 32
  • 44
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,307
  • 8
  • 70
  • 106
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

Intellisense/documentation of WIA constants and values

Looking at the WIA driver documentation for the WIA_IPS_DOCUMENT_HANDLING_SELECT property, the valid values are listed as: BACK_FIRST BACK_ONLY DUPLEX FRONT_FIRST FRONT_ONLY Just the names, no values. The documentation of the properties from the…
Zev Spitz
  • 13,950
  • 6
  • 64
  • 136
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
  • 6,116
  • 14
  • 59
  • 85
1 2
3
18 19