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
25
votes
7 answers

Why can't WIA see my scanner?

I'm trying to use WIA (Microsoft Windows Image Acquisition Library v2.0) to build a C# 3.5 WinForms app in VS2008 running on a Vista rig to aquire images from a scanner. I know there are plenty of SDKs out there that do this (Accusoft, ByteScout,…
Dhaust
  • 5,306
  • 8
  • 50
  • 73
23
votes
3 answers

Class cannot be embedded. Use the applicable interface instead

I'm using WIA to capture an image fron the scanner to the windows form. Here is the code I'm using: private void button2_Click(object sender, EventArgs e) { const string wiaFormatJPEG = "{B96B3CAE-0728-11D3-9D7B-0000F81EF32E}"; …
delete
22
votes
5 answers

Using C#/WIA version 2.0 on Vista to Scan

I want to implement a paperless filing system and was looking to use WIA with C# for the image acquisition. There are quite a few sample projects on CodeProject, etc. However, after downloading every one of them that I can find, I have run into a…
J Wynia
  • 10,098
  • 4
  • 37
  • 38
20
votes
2 answers

Writing a virtual webcam?

I need to create a virtual webcam that poses as a webcam, but takes as input a set of images that it plays. I have seen solutions like ManyCam, and Fake Webcam, but they all seem to one limitation or the other (resolution, max file size, fps etc.) I…
aloogobi
  • 199
  • 1
  • 1
  • 3
16
votes
4 answers

Is there a SOLID .NET WIA component?

I know that you can use WIA from .net ecosystem without (too) much hassle, but I've found using WIA this way, well, at least erratic. I've seen my code behave perfectly to not working at all to some WIA features not working and refusing to play at…
Vnuk
  • 2,565
  • 1
  • 32
  • 48
15
votes
3 answers

Using a scanner without dialogs in C#

I'm building a .Net 4.0 application for remote control of a scanner device. I have tried both TWAIN and WIA libraries, but I have the same problem. Scanning images without scanner selection and scanning settings dialogs. I found a useful article on…
Miljenko Barbir
  • 1,133
  • 1
  • 9
  • 31
15
votes
8 answers

Testing WIA without having a scanner/camera device

I wrote a simple scanning code using WIA. I don't have a scanner device so I can't test it. Can I simulate a WIA device to testing it ?
iboware
  • 917
  • 1
  • 11
  • 23
10
votes
2 answers

File path from a usb camera

Hello I am using GDI+ to do some image processing. I am having it run from the command line with two arguments. The reason for this is the program is being called from VBA Excel 2007. A Open file dialog is run from VBA and gives the first…
BenB
  • 101
  • 3
8
votes
1 answer

Set page size using WIA (with scanner)

I'm using WIA to acquire images from a scanner with C#. I can scan the papers, but I can't set up the page size correctly, it always defaults to A4 and I need to use Letter or Legal sometimes. I tried with the WIA_DPS_PAGE_SIZE property, but when I…
Salvador Sarpi
  • 964
  • 1
  • 8
  • 19
8
votes
1 answer

TWAIN/WIA implementation for JAVA

I am working on an application(Java Applet) that interacts with scanner. I understand I need a Twain library or WIA library to make it work in windows. But I am not sure what are the differences of two? I am trying to use this…
Mo3z
  • 1,978
  • 7
  • 19
  • 27
7
votes
1 answer

C# WIA ADF Has next page

I have created a WIA Wrapper, which I beleive will be usefull for some people. It's still in development stages, but it all works besides the fact that the HasNextPage method does not work. I have taken the code from a lot of different sources. But…
michael
  • 6,405
  • 14
  • 52
  • 98
7
votes
1 answer

WIA Scanning via Feeder

WIA Scanning via Feeder Here is my device properties: Document Handling Select = 1 (2 is for flatbed, and 1 is for the feeder.) Here is my item (page) properties: Horizontal Resolution = 150 Vertical Resolution = 150 Horizontal Extent = 500 (I want…
Willem Toerien
  • 250
  • 1
  • 3
  • 11
7
votes
1 answer

"Preferred" method to access webcam from C# in Windows Vista / 7

I've found plenty of posts discussing WIA, Windows Portable Devices API and DirectShow (and giving example code) for accessing a webcam from C# but when you research each method you seem to come across references that these are "old" methods. So,…
John
  • 73
  • 1
  • 3
7
votes
1 answer

Better .NET SDK support - Canon or Nikon?

Need to do a remote image capture from a "prosumer" camera into a C#/.NET app (for capturing pics at a higher resolution and more control than a webcam). Any advantage for Canon vs. Nikon remote capture SDK's? Is one better supported than another?…
Brandon
  • 13,354
  • 15
  • 67
  • 108
7
votes
4 answers

Wrapper class for WIA/TWAIN for a C# application?

Is there a wrapper class somewhere for WIA/TWAIN functionality in a C# application? Every search I make points to the same old 2001 CodeProject page, there has to be something new out there, right? Maybe I'm not looking in the right place. :P I…
delete
1
2 3
17 18