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

Scanning with WIA automatic feeder scanner fails for second page

I'm trying to scan multiple pages using a scanner which has an automatic feeder. My code is very simple at the moment: WIA.CommonDialog dialog = new WIA.CommonDialog(); WIA.Device device =…
vesan
  • 3,289
  • 22
  • 35
7
votes
1 answer

WIA 2.0 Duplex scanning

Since Vista, Windows is shipped with WIA 2.0 (wiaaut.dll). According to the following KB article and many of my findings on various forums, duplex scanning is no longer possible using WIA 2.0. Yet, the article mentions the use of native WIA 2.0,…
ITD
  • 363
  • 2
  • 10
7
votes
1 answer

WIA Automation for scanner color intent is not working

I cannot get my Canon Pixma MP150 to scan a color scan from c# code. The following code is resulting in a black and white image, or if I change the value of 6146 to 2 then a grayscale image is created. I would like to be able to have a color scan…
Mike Nicholson
  • 105
  • 2
  • 5
6
votes
1 answer

Safari problems accessing Windows Integrated Authentication (aka NTLM) protected web site

Our web application uses Windows Integrated Authentication (aka NTLM Auth) for security. It's working fine for both IE and Firefox users, but Safari users are seeing intermittent problems. Browsing the site will work fine, but every once in a while…
Darren
  • 231
  • 1
  • 5
  • 9
6
votes
0 answers

Wia 2.0 duplex scanning throw exception "System.outofmemoryException" C#

I'm using WIA on C#. When I set the properties "pages" to 1 and "docuemnt handling select" to 5 (to enable AFD and Duplex scaning), I get an exception at the method "wiaCommonDialog.ShowTransfer". The exception is "System.OutOfMemoryExcepion". Can…
6
votes
4 answers

Cannot read second page scanned via ADF

I have a Brother mutlifunction networked printer/scanner/fax (model MFC-9140CDN). I am trying to use the following code with WIA, to retrieve items scanned in with the document feeder: const int FEEDER = 1; var manager=new DeviceManager(); var…
Zev Spitz
  • 13,950
  • 6
  • 64
  • 136
6
votes
4 answers

Which is the best .NET image capture API for me to use?

I have been tasked with integrating image acquisition into a .NET application and I have been looking for an API to use for performing this function. I have come across several "standard" APIs, some have been in existence for a long time, some not…
BlackICE
  • 8,816
  • 3
  • 53
  • 91
6
votes
0 answers

How To Wait On WIA CommonDialog.ShowAcquisitionWizard Method to Finish?

I am trying to use WIA for scanning and am running into a little trouble. I am using the CommonDialog.ShowAcquisitionWizard method as documented on MSDN. The problem is, there is no object returned from the method. I need to know when the…
clockwiseq
  • 4,189
  • 9
  • 38
  • 61
5
votes
1 answer

Windows image acquisition - setting device properties in C#

I have a C# (WinForm) program that supports scanning using WIA. I am trying to set device properties before scanning one or more documents. Primarily I want to set the paper size for the scanner. Following is a snippet of the code: foreach…
codelove
  • 1,396
  • 3
  • 17
  • 35
5
votes
1 answer

scanning pages using WIA or TWAIN

Edit: Are there any tutorials on how to use WIA or TWAIN in c++, that explain how to scan pages, adjust settings (DPI, using automatic feeder etc.) and save them as PNG files? I'd like to use WIA to scan pages and store them as png files. If the…
Pedro
  • 4,100
  • 10
  • 58
  • 96
5
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
  • 51
  • 1
  • 3
5
votes
1 answer

Scan multiple pages using WIA automation

I'm playing around with WIA Automation and I`m struggling to scan more than page at a time. Can anyone give me some hints on how to achieve this? Below is a sample of code I use to scan a document/image: public static byte[] ScanImage(int…
user628060
  • 51
  • 1
  • 3
5
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
  • 461
  • 1
  • 6
  • 17
5
votes
7 answers

Scan multiple pages with ADF scanner using VBA

I am writing a Microsoft Access application and I want to enable the user to scan multiple pages to a single PDF format. The conversion to PDF works fine once I have all the pages scanned. Here's my code: Option Compare Database Option…
Yotam
  • 9,789
  • 13
  • 47
  • 68
1
2
3
18 19