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.
Files changed (37) hide show
  1. package/README.md +16 -12
  2. package/dist/addon/dbrjs/dbr-7.6.0.full.wasm.js +4016 -4016
  3. package/dist/addon/dbrjs/dbr-7.6.0.worker.js +107 -107
  4. package/dist/addon/dbrjs/dbr.js +10 -10
  5. package/dist/dist/DynamsoftServiceSetup.deb +0 -0
  6. package/dist/dist/DynamsoftServiceSetup.msi +0 -0
  7. package/dist/dist/DynamsoftServiceSetup.pkg +0 -0
  8. package/dist/dist/DynamsoftServiceSetup.rpm +0 -0
  9. package/dist/dist/LICENSE +95 -95
  10. package/dist/dynamsoft.webtwain.min.js +209 -209
  11. package/dist/dynamsoft.webtwain.min.mjs +208 -208
  12. package/dist/src/dynamsoft.imageio_wasm-1.6.2.js +93 -93
  13. package/dist/src/dynamsoft.webtwain.css +1045 -1045
  14. package/dist/types/Addon.BarcodeReader.d.ts +168 -168
  15. package/dist/types/Addon.Camera.d.ts +125 -125
  16. package/dist/types/Addon.OCR.d.ts +264 -264
  17. package/dist/types/Addon.OCRPro.d.ts +251 -251
  18. package/dist/types/Addon.PDF.d.ts +110 -110
  19. package/dist/types/Addon.Webcam.d.ts +257 -257
  20. package/dist/types/Dynamsoft.Enum.d.ts +1850 -1849
  21. package/dist/types/Dynamsoft.FileUploader.d.ts +130 -130
  22. package/dist/types/Dynamsoft.d.ts +495 -495
  23. package/dist/types/WebTwain.Acquire.d.ts +1059 -1059
  24. package/dist/types/WebTwain.Buffer.d.ts +259 -259
  25. package/dist/types/WebTwain.Edit.d.ts +434 -434
  26. package/dist/types/WebTwain.IO.d.ts +951 -951
  27. package/dist/types/WebTwain.Util.d.ts +102 -102
  28. package/dist/types/WebTwain.Viewer.d.ts +795 -795
  29. package/dist/types/WebTwain.d.ts +51 -51
  30. package/dist/types/index.d.ts +20 -20
  31. package/package.json +2 -2
  32. package/samples/1.AcquireImage.html +0 -69
  33. package/samples/2.CustomScan.html +0 -98
  34. package/samples/3.PDFRasterizer.html +0 -73
  35. package/samples/4.OCRADocument.html +0 -156
  36. package/samples/5.ReadBarcode.html +0 -231
  37. package/samples/6.ScanOrCapture.html +0 -189
package/README.md CHANGED
@@ -1,17 +1,21 @@
1
1
  # ![Dynamic Web TWAIN](https://www.dynamsoft.com/assets/img-icon/logo-dwt-white-300x68.png)
2
+ ![version](https://img.shields.io/npm/v/dwt.svg)
3
+ ![downloads](https://img.shields.io/npm/dm/dwt.svg)
4
+ ![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/dwt.svg)
5
+ ![](https://img.shields.io/snyk/vulnerabilities/npm/dwt.svg)
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/Products/WebTWAIN_Overview.aspx) 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!
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/CustomerPortal/Portal/TrialLicense.aspx) to use.
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/Downloads/WebTWAIN-Sample-Download.aspx) and our [Github Repositories](https://github.com/dynamsoft-dwt).
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/dwt/)
130
- * [API Reference](https://www.dynamsoft.com/docs/dwt/API/API-Index.html)
131
- * [Sample Gallery](https://www.dynamsoft.com/Downloads/WebTWAIN-Sample-Download.aspx)
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/Company/Contact.aspx) to resolve any issue you encounter with the library.
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, 0112)
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, 0, 0112)
149
+ >**v16.2.6** (build version 16, 2, 6, 1212)
146
150
  >
147
- >`Dynamic Web TWAIN (dwt_16.2.0.0112.dll, 64bit)`
151
+ >`Dynamic Web TWAIN (dwt_16.2.6.1212.dll, 64bit)`
148
152
  >
149
- >**v16.2** (build version 16, 2, 0, 0112)
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
  >