dwt 17.3.1 → 18.1.0
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/LICENSE.txt +2 -2
- package/README.md +25 -32
- package/dist/dist/DynamsoftServiceSetup-arm64.deb +0 -0
- 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/dynamsoft.webtwain.min.js +159 -97
- package/dist/dynamsoft.webtwain.min.mjs +254 -192
- package/dist/src/dynamsoft.lts.js +19 -41
- package/dist/src/dynamsoft.viewer.css +1 -1
- package/dist/src/dynamsoft.viewer.js +1 -1
- package/dist/src/dynamsoft.webtwain.css +43 -21
- package/dist/types/Dynamsoft.Enum.d.ts +14 -0
- package/dist/types/Dynamsoft.d.ts +85 -6
- package/dist/types/WebTwain.Acquire.d.ts +37 -3
- package/dist/types/WebTwain.Viewer.d.ts +21 -31
- package/dist/types/WebTwain.d.ts +0 -2
- package/package.json +2 -2
- package/dist/addon/dbrjs/dbr-8.8.7.full.wasm +0 -0
- package/dist/addon/dbrjs/dbr-8.8.7.full.wasm.js +0 -285
- package/dist/addon/dbrjs/dbr-8.8.7.worker.js +0 -113
- package/dist/addon/dbrjs/dbr.js +0 -22
- package/dist/addon/dynamsoft.webtwain.addon.camera.css +0 -7
- package/dist/dist/DynamsoftServiceSetup-mips64el.deb +0 -0
- package/dist/src/dynamsoft.crypto-1.7.3.wasm +0 -0
- package/dist/src/dynamsoft.imageProc-1.7.3.wasm +0 -0
- package/dist/src/dynamsoft.imageProc-sn-1.7.3.wasm +0 -0
- package/dist/src/dynamsoft.imagecore-1.7.3.wasm +0 -0
- package/dist/src/dynamsoft.imageio-1.7.3.wasm +0 -0
- package/dist/src/dynamsoft.imageio_wasm-1.7.3.js +0 -34
- package/dist/src/dynamsoft.pdfReader-1.7.3.wasm +0 -0
- package/dist/src/dynamsoft.pdfReader_wasm-1.7.3.js +0 -34
- package/dist/src/dynamsoft.pdfWriter-1.7.3.wasm +0 -0
- package/dist/src/fastcomp/dynamsoft.crypto-1.7.3.wasm +0 -0
- package/dist/src/fastcomp/dynamsoft.imageProc-1.7.3.wasm +0 -0
- package/dist/src/fastcomp/dynamsoft.imagecore-1.7.3.wasm +0 -0
- package/dist/src/fastcomp/dynamsoft.imageio-1.7.3.wasm +0 -0
- package/dist/src/fastcomp/dynamsoft.imageio_wasm-1.7.3.js +0 -34
- package/dist/src/fastcomp/dynamsoft.pdfWriter-1.7.3.wasm +0 -0
- package/dist/types/Addon.Camera.d.ts +0 -283
- package/samples/AcquireImage.html +0 -69
- package/samples/CustomScan.html +0 -98
- package/samples/Dynamic Web TWAIN Online Demo.html +0 -8
- package/samples/Dynamic Web TWAIN Sample Code Gallery.html +0 -8
- package/samples/Edit.html +0 -111
- package/samples/LoadAndSaveImages.html +0 -103
- package/samples/Navigation.html +0 -197
- package/samples/PDFRasterizer.html +0 -88
- package/samples/ReadBarcode.html +0 -231
- package/samples/ScanOrCapture.html +0 -202
- package/samples/Thumbnail.html +0 -88
- package/samples/mobilebrowsercapture.html +0 -13
package/LICENSE.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Dynamic Web TWAIN License Agreement (EULA)
|
|
2
|
-
Revision date:
|
|
2
|
+
Revision date: 12/22/2022
|
|
3
3
|
IMPORTANT - READ CAREFULLY: THIS IS A LEGAL AGREEMENT BETWEEN YOU AND DYNAMSOFT CORPORATION, FOR THE DYNAMSOFT SOFTWARE AND ANY ACCOMPANYING ONLINE OR ELECTRONIC DOCUMENTATION ("SOFTWARE"). BEFORE CONTINUING WITH THE INSTALLATION OF THE SOFTWARE, YOU MUST READ, ACKNOWLEDGE AND ACCEPT THE TERMS AND CONDITIONS OF THE SOFTWARE LICENSE AGREEMENT THAT FOLLOWS ("AGREEMENT"). IF YOU DO NOT ACCEPT THE TERMS AND CONDITIONS OF THE AGREEMENT, DO NOT CLICK AN "AGREE" OR SIMILAR BUTTON AND DO NOT INSTALL OR USE THE SOFTWARE.
|
|
4
4
|
1. DEFINITIONS
|
|
5
5
|
"Application" means an end user program that the Licensee develops using the Software and into which the Redistributables are incorporated, and which contain significant additional functionality over and above the functionality contained in the Software. Read what is counted as a single application to learn more.
|
|
@@ -52,6 +52,6 @@ NO LIABILITY FOR CONSEQUENTIAL DAMAGES. UNDER NO CIRCUMSTANCE SHALL DYNAMSOFT BE
|
|
|
52
52
|
8. CONFLICT OR INCONSISTENCY
|
|
53
53
|
Unless expressly agreed otherwise, in the event of any conflict or inconsistency between the terms and conditions of this Agreement and any terms or conditions set forth in any purchase order or other document relating to the transactions contemplated by this Agreement, the terms and conditions set forth in this Agreement shall prevail.
|
|
54
54
|
9. APPLICABLE LAWS
|
|
55
|
-
This Agreement shall be
|
|
55
|
+
This Agreement shall be construed, and the legal relations between the parties hereto shall be determined as follows: (a) If Licensee's head office is located in the United States, in accordance with the laws of the State of Delaware, and the federal laws of the United States; or (b) If Licensee's head office is located anywhere in the world except the United States, in accordance with the laws of the Province of British Columbia and the federal laws of Canada applicable therein; and (c) The United Nations Convention on Contracts for the International Sale of Goods and any conflicts of law principles and the Uniform Computer Information Transactions Act (where enacted) shall not apply to the Agreement. Any disputes pertaining to this Agreement requiring judicial action will only take place in the Province of British Columbia, Canada.
|
|
56
56
|
10. BUSINESS PRACTICES
|
|
57
57
|
The Licensee shall (a) comply with all applicable laws and regulations, including all import and export laws and all anti-bribery laws, (b) avoid deceptive, misleading or unethical practices, and (c) conduct business in a manner that always reflects favorably on the Dynamsoft Products and Dynamsoft's goodwill and reputation, and (d) promptly notify Dynamsoft of any complaint or adverse claim about the Software of which Licensee becomes aware.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
[Dynamic Web TWAIN](https://www.dynamsoft.com/web-twain/overview/) is a cross-platform scanning SDK designed for web document management applications. With just a few lines of JavaScript code, you can develop robust web applications to scan documents, edit images and save them to file systems. To see it in action, please visit <a href="https://demo.dynamsoft.com/web-twain/" target="_blank">**this online demo**</a>
|
|
8
8
|
|
|
9
|
-
Note: Dynamic Web TWAIN SDK **
|
|
9
|
+
Note: Dynamic Web TWAIN SDK **v18.1** is built in this package. For more detail, check the [Version Info](#versions).
|
|
10
10
|
|
|
11
11
|
## Table of Contents
|
|
12
12
|
- [Supported Environments](#supported-environments)
|
|
@@ -145,23 +145,16 @@ If you are making use of the `CDN` [jsDelivr](https://cdn.jsdelivr.net/npm/dwt),
|
|
|
145
145
|
}
|
|
146
146
|
function AcquireImage() {
|
|
147
147
|
if (DWObject) {
|
|
148
|
-
DWObject.
|
|
149
|
-
DWObject.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
},
|
|
159
|
-
function (settings, errCode, errString) {
|
|
160
|
-
alert(errString)
|
|
161
|
-
}
|
|
162
|
-
);
|
|
163
|
-
}, function () {
|
|
164
|
-
alert('SelectSource failed!');
|
|
148
|
+
DWObject.SelectSourceAsync().then(function(){
|
|
149
|
+
return DWObject.AcquireImageAsync({
|
|
150
|
+
PixelType: Dynamsoft.DWT.EnumDWT_PixelType.TWPT_RGB,
|
|
151
|
+
Resolution: 200,
|
|
152
|
+
IfDisableSourceAfterAcquire: true
|
|
153
|
+
});
|
|
154
|
+
}).then(function(){
|
|
155
|
+
return DWObject.CloseSourceAsync();
|
|
156
|
+
}).catch(function (exp) {
|
|
157
|
+
alert(exp.message);
|
|
165
158
|
});
|
|
166
159
|
}
|
|
167
160
|
}
|
|
@@ -225,35 +218,35 @@ https://www.dynamsoft.com/Products/WebTWAIN_License.aspx
|
|
|
225
218
|
|
|
226
219
|
>`Dynamsoft Service (DynamsoftService.exe, 64bit)`
|
|
227
220
|
>
|
|
228
|
-
>**
|
|
221
|
+
>**v18.0** (build version 1, 8, 0, 1025)
|
|
229
222
|
>
|
|
230
|
-
>`Dynamsoft Service Manager (
|
|
223
|
+
>`Dynamsoft Service Manager (DWASManager_18001025.dll, 64bit)`
|
|
231
224
|
>
|
|
232
|
-
>**
|
|
225
|
+
>**v18.0** (build version 18, 0, 0, 1025)
|
|
233
226
|
>
|
|
234
|
-
>`
|
|
227
|
+
>`Device Manager (DeviceManager_18001025.dll, 64bit)`
|
|
235
228
|
>
|
|
236
|
-
>**
|
|
229
|
+
>**v18.0** (build version 18, 0, 0, 1025)
|
|
237
230
|
>
|
|
238
|
-
>`
|
|
231
|
+
>`Dynamic Web TWAIN (dwt_18.0.0.1025.dll, 64bit)`
|
|
239
232
|
>
|
|
240
|
-
>**
|
|
233
|
+
>**v18.0** (build version 18, 0, 0, 1025)
|
|
241
234
|
>
|
|
242
|
-
>`Dynamsoft
|
|
235
|
+
>`Dynamsoft PDF Rasterizer (DynamicPdfRx64_11.4.1.1025.dll, 64bit)`
|
|
243
236
|
>
|
|
244
|
-
>**
|
|
237
|
+
>**v18.0** (build version 11, 4, 1, 1025)
|
|
245
238
|
>
|
|
246
|
-
>`Dynamsoft Barcode Reader (
|
|
239
|
+
>`Dynamsoft Barcode Reader (dbrx64_9.4.0.1025.dll, 64bit)`
|
|
247
240
|
>
|
|
248
|
-
>**
|
|
241
|
+
>**v9.4.0** (build version 9, 4, 0, 0823)
|
|
249
242
|
>
|
|
250
243
|
>`Dynamsoft Webcam Addon (DynamicWebcamx64_15.0.0.0625.dll, 64bit)`
|
|
251
244
|
>
|
|
252
|
-
>**
|
|
245
|
+
>**v18.0** (build version 15, 0, 0, 0625)
|
|
253
246
|
>
|
|
254
|
-
>`Dynamsoft Upload Module (UploadModule_1.
|
|
247
|
+
>`Dynamsoft Upload Module (UploadModule_1.8.0.1025.dll, 64bit)`
|
|
255
248
|
>
|
|
256
|
-
>**
|
|
249
|
+
>**v18.0** (build version 1, 8, 0, 1025)
|
|
257
250
|
|
|
258
251
|
## Changelog
|
|
259
252
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|