Skip to content

Commit ff0c0c5

Browse files
committed
add new faq
1 parent dfefe11 commit ff0c0c5

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

faq/use-wia-insteadof-wiatwain.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
layout: default-layout
3+
noTitleIndex: true
4+
needAutoGenerateSidebar: true
5+
title: How to use pure WIA source instead of WIATWAIN source from version 18.2?
6+
keywords: Dynamic Web TWAIN, Capture/ Image Source, WIA
7+
breadcrumbText: How to use pure WIA source instead of WIATWAIN source?
8+
description: How to use pure WIA source instead of WIATWAIN source?
9+
permalink: /faq/use-wia-insteadof-wiatwain.html
10+
---
11+
12+
# Capture/Image Source
13+
14+
## How to use pure WIA source instead of WIATWAIN source from version 18.2?
15+
16+
As of Dynamic Web TWAIN version 18.2, we start to support WIA protocol officially.
17+
18+
### WIA
19+
20+
WIA stands for Windows Image Acquisition which is a Microsoft driver model for capturing digital images from various devices, such as scanners, cameras and other imaging devices.
21+
22+
Compared with TWAIN, the WIA protocol is built-in supported by Windows OS. No extra drivers needed for WIA-supported devices.
23+
24+
WIA offers standardized hardware compatibility and a stable driver environment, making it easier to integrate imaging capabilities into the web scanning applications.
25+
26+
27+
### Difference between `WIASCANNER` and `WIATWAINSCANNER`
28+
29+
We add a new Enumaration `WIASCANNER` to [`Dynamsoft.DWT.EnumDWT_DeviceType`](https://www.dynamsoft.com/web-twain/docs/info/api/Dynamsoft_Enum.html?ver=latest&&cVer=true#dynamsoftdwtenumdwt_devicetype) to support WIA protocol. There is another Enumaration named `WIATWAINSCANNER` which is a WIA Source mapped through the TWAIN protocol after packaging by Microsoft and it was used to support WIA in the previous version.
30+
31+
If you are using `WIATWAINSCANNER` before and would like to use `WIASCANNER` from version 18.2 instead, you need to modify the APIs used in your code accordingly.
32+
33+
| `WIASCANNER` | `WIATWAINSCANNER`|
34+
|:-|:-|
35+
| [GetDeviceAsync()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#getdevicesasync) | [GetSourceNames()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#getsourcenames), [GetSourceNamesAsync()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#getsourcenamesasync)|
36+
| [SelectDeviceAsync()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#selectdeviceasync) | [SelectSourceByIndex()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#selectsourcebyindex), [SelectSourceByIndexAsync()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#selectsourcebyindexasync) |
37+
| [SelectSourceAsync()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#selectsourceasync) | [SelectSource()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#selectsource) |
38+
| [AcquireImageAsync()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#acquireimageasync) | [AcquireImage()](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#acquireimage) |
39+
40+
*`WIATWAINSCANNER` is still available.*

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ permalink: /index.html
6666
* [FAQs]({{site.faqs}}faq/index.html)
6767

6868
- [SDK Download/Free Trial]({{site.faq}}#sdk-downloadfree-trial)
69-
- [Capture/Image Source]({{site.indepth}}#captureimage-source)
69+
- [Capture/Image Source]({{site.faq}}#captureimage-source)
7070
- [Image Viewer]({{site.faq}}#image-viewer)
7171
- [Image Editing]({{site.faq}}#image-editing)
7272
- [UI Customization]({{site.faq}}#ui-customization)

0 commit comments

Comments
 (0)