dwt 18.5.0-patch-20240517 → 18.5.1

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 CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  [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>
7
7
 
8
- Note: Dynamic Web TWAIN SDK **v18.5.0** is built in this package. For more detail, check the [Version Info](#versions).
8
+ Note: Dynamic Web TWAIN SDK **v18.5.1** is built in this package. For more detail, check the [Version Info](#versions).
9
9
 
10
10
  ## Table of Contents
11
11
  - [Supported Environments](#supported-environments)
@@ -137,15 +137,15 @@ If you are making use of the `CDN` [jsDelivr](https://cdn.jsdelivr.net/npm/dwt),
137
137
  window.onload = function () {
138
138
  Dynamsoft.DWT.Load();
139
139
  };
140
- var DWObject;
141
- function Dynamsoft_OnReady() {
140
+ var DWTObject;
141
+ Dynamsoft.DWT.RegisterEvent("OnWebTwainReady", function() {
142
142
  // dwtcontrolContainer is the id of the DIV to create the WebTwain instance in.
143
- DWObject = Dynamsoft.DWT.GetWebTwain('dwtcontrolContainer');
144
- }
143
+ DWTObject = Dynamsoft.DWT.GetWebTwain('dwtcontrolContainer');
144
+ });
145
145
  function AcquireImage() {
146
- if (DWObject) {
147
- DWObject.SelectSourceAsync().then(function(){
148
- return DWObject.AcquireImageAsync({
146
+ if (DWTObject) {
147
+ DWTObject.SelectSourceAsync().then(function(){
148
+ return DWTObject.AcquireImageAsync({
149
149
  PixelType: Dynamsoft.DWT.EnumDWT_PixelType.TWPT_RGB,
150
150
  Resolution: 200,
151
151
  IfCloseSourceAfterAcquire: true
@@ -199,23 +199,23 @@ https://www.dynamsoft.com/Products/WebTWAIN_License.aspx
199
199
 
200
200
  >`Dynamsoft Service (DynamsoftService.exe, 64bit)`
201
201
  >
202
- >**v18.5.0** (build version 1, 8, 5, 0312)
202
+ >**v18.5.1** (build version 1, 8, 5, 0828)
203
203
  >
204
204
  >`Dynamsoft Service Manager (DWASManager_18500312.dll, 64bit)`
205
205
  >
206
- >**v18.5.0** (build version 18, 5, 0, 0312)
206
+ >**v18.5.1** (build version 18, 5, 0, 0312)
207
207
  >
208
- >`Device Manager (DeviceManager_18500312.dll, 64bit)`
208
+ >`Device Manager (DeviceManager_18510828.dll, 64bit)`
209
209
  >
210
- >**v18.5.0** (build version 18, 5, 0, 0312)
210
+ >**v18.5.1** (build version 18, 5, 1, 0828)
211
211
  >
212
- >`Dynamic Web TWAIN (dwt_18.5.0.0312.dll, 64bit)`
212
+ >`Dynamic Web TWAIN (dwt_18.5.1.0828.dll, 64bit)`
213
213
  >
214
- >**v18.5.0** (build version 18, 5, 0, 0312)
214
+ >**v18.5.1** (build version 18, 5, 1, 0828)
215
215
  >
216
- >`Dynamsoft PDF Rasterizer (DynamicPdfRx64_11.5.2.0312.dll, 64bit)`
216
+ >`Dynamsoft PDF Rasterizer (DynamicPdfRx64_11.5.3.0828.dll, 64bit)`
217
217
  >
218
- >**v18.5.0** (build version 11, 5, 2, 0312)
218
+ >**v18.5.1** (build version 11, 5, 3, 0828)
219
219
  >
220
220
  >`Dynamsoft Barcode Reader (dbrx64_9.6.1.0312.dll, 64bit)`
221
221
  >
@@ -223,11 +223,11 @@ https://www.dynamsoft.com/Products/WebTWAIN_License.aspx
223
223
  >
224
224
  >`Dynamsoft Webcam Addon (DynamicWebcamx64_15.0.0.0625.dll, 64bit)`
225
225
  >
226
- >**v18.5.0** (build version 15, 0, 0, 0625)
226
+ >**v18.5.1** (build version 15, 0, 0, 0625)
227
227
  >
228
- >`Dynamsoft Upload Module (UploadModule_1.8.5.0312.dll, 64bit)`
228
+ >`Dynamsoft Upload Module (UploadModule_1.8.5.0828.dll, 64bit)`
229
229
  >
230
- >**v18.5.0** (build version 1, 8, 5, 0312)
230
+ >**v18.5.1** (build version 1, 8, 5, 0828)
231
231
 
232
232
  ## Changelog
233
233
 
Binary file
Binary file
Binary file
Binary file