wia

WIA Scanning via Feeder

▼魔方 西西 提交于 2019-11-30 13:49:41
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 to get it first to work, then I'll play with the extents.), Vertical Extent = 500 Bits Per Pixel = 8 Current Intent = 4 I got everything running smoothly if I set the "Document Handling Select" to "2". When I set it to "1", and ran it, just before I say item.Transfer() (or item.Transfer(bmp/jpeg/pngGuid)) I get the exception "Value does not fall

TWAIN/WIA implementation for JAVA [closed]

血红的双手。 提交于 2019-11-30 05:03:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . 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 library: http://thorntonzone.com/manuals/Compression/Fax,%20IBM%20MMR/MMSC/mmsc/uk/co

Writing a virtual webcam?

半城伤御伤魂 提交于 2019-11-29 23:14:00
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 am working on Windows XP SP3. I understand that I have to write a WIA interface for this task, but being a Python programmer, I have never written drivers or interfaces to devices. What are the main tasks in writing this interface ? What would the flow look like ? You need to write DirectShow filter which is a COM server that implements an IPin ,

Writing a virtual webcam?

筅森魡賤 提交于 2019-11-29 23:12:14
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 am working on Windows XP SP3. I understand that I have to write a WIA interface for this task, but being a Python programmer, I have never written drivers or interfaces to devices. What are the main tasks in writing this interface ? What would the flow look like ? You need to write DirectShow filter which is a COM server that implements an IPin ,

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

孤街醉人 提交于 2019-11-29 07:29:33
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 code seems to run just fine through the first page, then fail on the second. If I step through the code around the following line; image = (WIA.ImageFile)wiaCommonDialog.ShowTransfer(item, wiaFormatTIFF, false); the old scanner stops and waits for another call to be made on the same reference, but the newer one just runs through all it's pages from

Using a scanner without dialogs in C#

房东的猫 提交于 2019-11-29 01:10:36
问题 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 WIA scripting in .Net, and modified it to this: private Image Scan(string deviceName) { WiaClass wiaManager = null; // WIA manager COM object CollectionClass wiaDevs = null; // WIA devices collection COM object ItemClass wiaRoot = null; // WIA

Writing a virtual webcam?

佐手、 提交于 2019-11-28 20:30:56
问题 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 am working on Windows XP SP3. I understand that I have to write a WIA interface for this task, but being a Python programmer, I have never written drivers or interfaces to devices. What are the main tasks in writing this interface ? What would the

Using C#/WIA version 2.0 on Vista to Scan

依然范特西╮ 提交于 2019-11-28 16:44:02
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 problem. In each and every one of them, the reference to WIALib is broken. When I go to add "Microsoft Windows Image Acquisition" as a reference, the only version available on my development workstation (also the machine that will run this) is 2.0. Unfortunately, every one of these sample projects appear to have been coded against 1.x. The reference

WIA through web browser - ASP.NET

徘徊边缘 提交于 2019-11-28 09:31:16
问题 I am wondering what would be the best/preferred way to write a scanning app that lives in a web browser. The basic idea is I want to use a web page from where I can click a button which will scan a document on the client and upload that document to server. The first thought that came to mind is write a native (C++?) browser plug-in. However, I don't know what is required for a native plug-in to be cross-browsers. So here are few questions: Is Silverlight a viable option? This is what I would

Using C#/WIA version 2.0 on Vista to Scan

独自空忆成欢 提交于 2019-11-27 19:59:52
问题 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 problem. In each and every one of them, the reference to WIALib is broken. When I go to add "Microsoft Windows Image Acquisition" as a reference, the only version available on my development workstation (also the machine that will run this) is 2.0.