dwt 16.2.4 → 16.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -12
- package/dist/addon/dbrjs/dbr-7.6.0.full.wasm.js +4016 -4016
- package/dist/addon/dbrjs/dbr-7.6.0.worker.js +107 -107
- package/dist/addon/dbrjs/dbr.js +10 -10
- package/dist/dist/DynamsoftServiceSetup.deb +0 -0
- package/dist/dist/DynamsoftServiceSetup.msi +0 -0
- package/dist/dist/DynamsoftServiceSetup.pkg +0 -0
- package/dist/dist/DynamsoftServiceSetup.rpm +0 -0
- package/dist/dist/LICENSE +95 -95
- package/dist/dynamsoft.webtwain.min.js +209 -209
- package/dist/dynamsoft.webtwain.min.mjs +208 -208
- package/dist/src/dynamsoft.imageio_wasm-1.6.2.js +93 -93
- package/dist/src/dynamsoft.webtwain.css +1045 -1045
- package/dist/types/Addon.BarcodeReader.d.ts +168 -168
- package/dist/types/Addon.Camera.d.ts +125 -125
- package/dist/types/Addon.OCR.d.ts +264 -264
- package/dist/types/Addon.OCRPro.d.ts +251 -251
- package/dist/types/Addon.PDF.d.ts +110 -110
- package/dist/types/Addon.Webcam.d.ts +257 -257
- package/dist/types/Dynamsoft.Enum.d.ts +1850 -1849
- package/dist/types/Dynamsoft.FileUploader.d.ts +130 -130
- package/dist/types/Dynamsoft.d.ts +495 -495
- package/dist/types/WebTwain.Acquire.d.ts +1059 -1059
- package/dist/types/WebTwain.Buffer.d.ts +259 -259
- package/dist/types/WebTwain.Edit.d.ts +434 -434
- package/dist/types/WebTwain.IO.d.ts +951 -951
- package/dist/types/WebTwain.Util.d.ts +102 -102
- package/dist/types/WebTwain.Viewer.d.ts +795 -795
- package/dist/types/WebTwain.d.ts +51 -51
- package/dist/types/index.d.ts +20 -20
- package/package.json +2 -2
- package/samples/1.AcquireImage.html +0 -69
- package/samples/2.CustomScan.html +0 -98
- package/samples/3.PDFRasterizer.html +0 -73
- package/samples/4.OCRADocument.html +0 -156
- package/samples/5.ReadBarcode.html +0 -231
- package/samples/6.ScanOrCapture.html +0 -189
package/README.md
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
# 
|
|
2
|
+

|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
2
6
|
|
|
3
7
|
Cross-platform cross-browser JavaScript library for web document scanning.
|
|
4
8
|
|
|
5
9
|
# Overview
|
|
6
10
|
|
|
7
|
-
[Dynamic Web TWAIN](https://www.dynamsoft.com/
|
|
11
|
+
[Dynamic Web TWAIN](https://www.dynamsoft.com/web-twain/overview/) is a TWAIN-based scanning SDK software specifically designed for web applications. With just a few lines of code, you can develop robust applications to scan documents from TWAIN/ICA/SANE-compatible scanners on Windows/macOS/Linux, view and edit the scanned images, then save them to a local/server file system or database. You can even use your mobile devices running iOS | iPadOS | Android with the library starting in 16.2!
|
|
8
12
|
|
|
9
13
|
## Installation
|
|
10
14
|
|
|
11
15
|
### The main package
|
|
12
16
|
|
|
13
17
|
```bash
|
|
14
|
-
npm install dwt
|
|
18
|
+
npm install dwt@16.2.6
|
|
15
19
|
```
|
|
16
20
|
|
|
17
21
|
### A Virtual Scanner
|
|
@@ -57,11 +61,11 @@ If you do not have a physical scanner to test on Windows, you can install a virt
|
|
|
57
61
|
> Note that `ResourcesPath` and `ProductKey` must be set in order to use the library.
|
|
58
62
|
|
|
59
63
|
1. `ResourcesPath` is a relative path to where you put the directory "/dist/" and all the files in it.
|
|
60
|
-
2. If you don't have a valid `ProductKey`, you can [request a trial key](https://www.dynamsoft.com/
|
|
64
|
+
2. If you don't have a valid `ProductKey`, you can [request a trial key](https://www.dynamsoft.com/customer/license/trialLicense) to use.
|
|
61
65
|
|
|
62
66
|
### Step 3 Write code to use the package to do a simple document scan
|
|
63
67
|
|
|
64
|
-
> The following code demonstrates the minimum code needed to use the package. Note the addition of HTML elements as well as JavaScript code. For more sophisticated sample or demo, check out the [Sample Gallery](https://www.dynamsoft.com/
|
|
68
|
+
> The following code demonstrates the minimum code needed to use the package. Note the addition of HTML elements as well as JavaScript code. For more sophisticated sample or demo, check out the [Sample Gallery](https://www.dynamsoft.com/web-twain/resources/code-gallery/) and our [Github Repositories](https://github.com/dynamsoft-dwt).
|
|
65
69
|
|
|
66
70
|
```html
|
|
67
71
|
<!DOCTYPE html>
|
|
@@ -126,27 +130,27 @@ If you do not have a physical scanner to test on Windows, you can install a virt
|
|
|
126
130
|
|
|
127
131
|
## Documentation
|
|
128
132
|
|
|
129
|
-
* [Developer's Guide](https://www.dynamsoft.com/docs/
|
|
130
|
-
* [API Reference](https://www.dynamsoft.com/docs/
|
|
131
|
-
* [Sample Gallery](https://www.dynamsoft.com/
|
|
133
|
+
* [Developer's Guide](https://www.dynamsoft.com/web-twain/docs/about/index.html)
|
|
134
|
+
* [API Reference](https://www.dynamsoft.com/web-twain/docs/info/api/index.html)
|
|
135
|
+
* [Sample Gallery](https://www.dynamsoft.com/web-twain/resources/code-gallery/)
|
|
132
136
|
|
|
133
137
|
## Need Help?
|
|
134
138
|
|
|
135
|
-
[Contact Dynamsoft](https://www.dynamsoft.com/
|
|
139
|
+
[Contact Dynamsoft](https://www.dynamsoft.com/company/contact/) to resolve any issue you encounter with the library.
|
|
136
140
|
|
|
137
141
|
## Versions
|
|
138
142
|
|
|
139
143
|
>`Dynamsoft Service (DynamsoftService.exe, 64bit)`
|
|
140
144
|
>
|
|
141
|
-
>**v16.2** (build version 1, 6, 2,
|
|
145
|
+
>**v16.2.6** (build version 1, 6, 2,1212)
|
|
142
146
|
>
|
|
143
147
|
>`Dynamsoft Service Manager (DWASManager_16200112.dll, 64bit)`
|
|
144
148
|
>
|
|
145
|
-
>**v16.2** (build version 16, 2,
|
|
149
|
+
>**v16.2.6** (build version 16, 2, 6, 1212)
|
|
146
150
|
>
|
|
147
|
-
>`Dynamic Web TWAIN (dwt_16.2.
|
|
151
|
+
>`Dynamic Web TWAIN (dwt_16.2.6.1212.dll, 64bit)`
|
|
148
152
|
>
|
|
149
|
-
>**v16.2** (build version 16, 2,
|
|
153
|
+
>**v16.2.6** (build version 16, 2, 6, 1212)
|
|
150
154
|
>
|
|
151
155
|
>`Dynamsoft PDF Rasterizer (DynamicPdfRx64_11.1.0.0112.dll, 64bit)`
|
|
152
156
|
>
|