You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamic Web TWAIN's main feature is interacting with imaging devices like scanners and cameras. In this section, we'll look at the supported devices.
14
14
15
-
-[TWAIN Scanners](#twain-scanners)
16
-
-[ICA Scanners](#ica-scanners)
17
-
-[SANE Scanners](#sane-scanners)
18
-
-[DirectShow Cameras](#directshow-cameras)
19
-
-[MediaDevices Cameras](#mediadevices-cameras)
15
+
-[Imaging Hardware](#imaging-hardware)
16
+
-[TWAIN Scanners](#twain-scanners)
17
+
-[Facts about TWAIN](#facts-about-twain)
18
+
-[ICA Scanners](#ica-scanners)
19
+
-[Facts about ICA](#facts-about-ica)
20
+
-[SANE Scanners](#sane-scanners)
21
+
-[Facts about SANE](#facts-about-sane)
22
+
-[DirectShow Cameras](#directshow-cameras)
20
23
21
24
## TWAIN Scanners
22
25
@@ -72,12 +75,4 @@ See more: <a href="{{site.faq}}how-to-test-if-your-device-is-SANE-compliant.html
72
75
73
76
`DirectShow Cameras` refer to the cameras which can be accessed via the [Microsoft DirectShow architecture](https://docs.microsoft.com/en-us/windows/win32/directshow/introduction-to-directshow). These cameras are either built into desktops / laptops or connected via USB.
74
77
75
-
See more: <ahref="{{site.faq}}how-to-test-if-your-camera-is-DirectShow-compliant.html"target="_blank">Is my Camera DirectShow Compliant?</a>
76
-
77
-
## MediaDevices Cameras
78
-
79
-
`MediaDevices Cameras` refers to the cameras accessible via the [MediaDevices interface](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices). These cameras are either built into desktops/laptops/mobile devices, including phones and tablets, or connected via USB.
80
-
81
-
> `DirectShow Cameras` and `MediaDevices Cameras` could refer to the same devices which can be accessed either way.
82
-
83
-
See more: <ahref="{{site.faq}}how-to-test-if-your-camera-is-MediaDevices-compliant.html"target="_blank">Is my Camera MediaDevices Compliant?</a>
78
+
See more: <ahref="{{site.faq}}how-to-test-if-your-camera-is-DirectShow-compliant.html"target="_blank">Is my Camera DirectShow Compliant?</a>
Dynamic Web TWAIN is designed to be cross-platform, thus, it works in all major browsers across all major operating systems, including Windows, macOS, Linux and mobile.
15
+
Dynamic Web TWAIN is designed to be cross-platform, thus, it works in all major browsers across all major operating systems, including Windows, macOS, Linux.
16
16
17
17
[See the list of supported systems and browsers >](https://www.dynamsoft.com/web-twain/features/)
18
18
19
-
## Additional notes
20
-
21
-
Besides the mainstream systems, here are some additional notes on WASM browsers, ActiveX browsers and more:
22
-
23
-
**WASM browsers**
24
-
25
-
WASM browsers refer to the browsers with the following advanced features.
ActiveX browsers refers to Internet Explorer 9 ~ 11. They are not included in the above lists. By default, IE 10 ~ 11 runs in HTML5 mode. Setting the global API `Dynamsoft.DWT.IfUseActiveXForIE10Plus` to true can turn ActiveX mode on in IE 10 ~ 11.
The method can also do something that [Load](#dynamsoftdwtload) can't. The following code creates a `WebTwain` instance that connects to the Dynamsoft Service running on another machine. Check out [how to enable remote scan]({{site.faq}}how-to-enable-remote-scan.html).
Similar to [`CreateDWTObject`](#dynamsoftwebtwainenvcreatedwtobject), `CreateDWTObjectEx` can also connect to the Dynamsoft Service running on another machine. Check out [how to enable remote scan]({{site.faq}}how-to-enable-remote-scan.html).
178
-
179
175
## Customizing the instances
180
176
181
177
The instances are defined in `dynamsoft.webtwain.config.js`:
Copy file name to clipboardExpand all lines: indepth/features/input.md
-49Lines changed: 0 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,57 +22,8 @@ A local scanner refers to a scanner that is plugged in the same desktop via USB
22
22
23
23
> As far as `Dynamic Web TWAIN` is concerned, a network scanner is just like a local scanner because its driver has taken care of the network connection behind the scene.
24
24
25
-
### Scan From a Remote Scanner
26
-
27
-
Please refer to [this article](#) for more information on remote scanning. (Link TBC)
28
-
29
25
## Capture from cameras
30
26
31
-
### Use [MediaDevices Cameras]({{site.getstarted}}hardware.html#mediadevices-cameras)
32
-
33
-
Dynamic Web TWAIN also comes with a Camera add-on for you to capture images or documents using MediaDevices cameras, auto crop and adjust perspective.
34
-
35
-
To include the Camera add-on, simply add a reference to the corresponding camera JS file which is included in the [resources folder]({{site.faq}}what-are-the-resources-files.html).
### Use [DirectShow Cameras]({{site.getstarted}}hardware.html#directshow-cameras)
77
28
78
29
To include the Webcam add-on, simply add a reference to the corresponding webcam JS file which is included in the [resources folder]({{site.faq}}what-are-the-resources-files.html).
When using the Camera add-on, DWT runs its entire operations within desktop/mobile browsers. As a result, files are always saved in the system's Downloads folder by default, regardless of the absolute path specified. And the API [`IfShowFileDialog`]({{site.info}}api/WebTwain_IO.html#ifshowfiledialog) has no effect in this case.
351
-
352
-
```javascript
353
-
// The following line will be ignored and
354
-
// no file dialog will be shown in WASM mode
355
-
DWObject.IfShowFileDialog=true;
356
-
// The absolute path specified will be ignored and
357
-
// the file is saved to the Downloads folder
358
-
DWObject.SaveAllAsPDF("D:\\Sample.pdf",
359
-
function() {
360
-
console.log('Successful!');
361
-
},
362
-
function(errCode, errString) {
363
-
console.log(errString);
364
-
}
365
-
);
366
-
```
367
-
368
348
## Convert
369
349
370
350
In some cases, you want to process the data yourself and want to extract it from the `Dynamic Web TWAIN` buffer. `Dynamic Web TWAIN` offers two approaches.
Copy file name to clipboardExpand all lines: indepth/features/pdf.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ PDFs are widely used in many and various industries, and presently are the only
14
14
15
15
## Environment
16
16
17
-
* Supported on [Desktop]({{site.getstarted}}platform.html#browsers-on-desktop-devices) and [Mobile]({{site.getstarted}}platform.html#browsers-on-mobile-devices).
17
+
* Supported on [Desktop]({{site.getstarted}}platform.html#browsers-on-desktop-devices).
0 commit comments