Skip to content

Commit 074df0d

Browse files
authored
Merge pull request #157 from icfung828/master
Update Stable.md
2 parents 7262779 + 137d77c commit 074df0d

File tree

3 files changed

+38
-25
lines changed

3 files changed

+38
-25
lines changed

faq/change-dynamsoft-service-certificate.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ description: How can I change the certificate of the Dynamsoft Service?
1212

1313
## How can I change the certificate of the Dynamsoft Service?
1414

15-
To replace the default certificates, the steps are:
15+
To replace the default certificate, the steps are:
1616

1717
- Generate a certificate for `127.0.0.1`
1818
- Install that certificate
1919
- Use that certificate to generate public /private keys (pem)
2020
- Rename these two keys to `server.pem` (public) and `server_key.pem` (private)
2121
- Replace the old keys in `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_17\cert`
2222
- Restart the service
23+
24+
NOTE: For v17.2 or higher versions, you can use the new API <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert" target="_blank">UpdateCert</a> to automatically update the client side certificate.

info/api/WebTwain_Buffer.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,7 +2262,7 @@ Pair: [from: number, to: number];
22622262

22632263
```typescript
22642264
/**
2265-
* Return the tag of a specified image.
2265+
* Return the tag(s) of a specified image.
22662266
* @argument index Index of the image.
22672267
*/
22682268
GetTagListByIndex(index: number):string[]
@@ -2312,10 +2312,10 @@ DWObject.GetTagListByIndex(0);
23122312

23132313
```typescript
23142314
/**
2315-
* Create a file folder for image(s).
2316-
* @argument filename Specify the file name.
2315+
* Create a category for the scanned image(s).
2316+
* @argument categoryName Specify the category name.
23172317
*/
2318-
CreateFile(filename:string):Boolean;
2318+
CreateFile(categoryName:string):Boolean;
23192319
```
23202320

23212321
**Availability**
@@ -2351,9 +2351,9 @@ CreateFile(filename:string):Boolean;
23512351
**Example**
23522352

23532353
```javascript
2354-
//the image you scanned will belong to File1.
2355-
DWObject.CreateFile("File1");
2356-
DWObject.OpenFile("File1"); //Need to call OpenFile after CreateFile.
2354+
//Store the scanned image(s) under 'Category1'.
2355+
DWObject.CreateFile("Category1");
2356+
DWObject.OpenFile("Category1"); //Need to call OpenFile after CreateFile.
23572357
DWObject.AcquireImage(successCallback, failureCallback);
23582358

23592359
function successCallback() {
@@ -2367,8 +2367,8 @@ function failureCallback(errorCode, errorString) {
23672367

23682368
**Usage notes**
23692369

2370-
1. If the documents have been sorted before scanning, you can use <a href="{{site.info}}api/WebTwain_Buffer.html#createfile" target="_blank">CreateFile</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#openfile" target="_blank">OpenFile</a> to manage each type of document.
2371-
2. If the documents are out of order before scanning and you want to scan them in first and then sort them, use tags to manage the documents. Relevant APIs: <a href="{{site.info}}api/WebTwain_Buffer.html#setdefaulttag" target="_blank">SetDefaultTag</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#tagimages" target="_blank">TagImages</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#gettaglist" target="_blank">GetTagList</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#filterimagesbytag" target="_blank">FilterImagesByTag</a>
2370+
1. If the documents are already sorted before scanning, you can use <a href="{{site.info}}api/WebTwain_Buffer.html#createfile" target="_blank">CreateFile</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#openfile" target="_blank">OpenFile</a> to group the documents.
2371+
2. If the documents are not already sorted before scanning and you want to first scan, then sort, you can use tags to manage that. Relevant APIs: <a href="{{site.info}}api/WebTwain_Buffer.html#setdefaulttag" target="_blank">SetDefaultTag</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#tagimages" target="_blank">TagImages</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#gettaglist" target="_blank">GetTagList</a>, <a href="{{site.info}}api/WebTwain_Buffer.html#filterimagesbytag" target="_blank">FilterImagesByTag</a>
23722372

23732373
---
23742374

@@ -2378,10 +2378,10 @@ function failureCallback(errorCode, errorString) {
23782378

23792379
```typescript
23802380
/**
2381-
* Open the specified file folder.
2382-
* @argument filename Specify the file name.
2381+
* Use the specified category for the scanned image(s)
2382+
* @argument categoryName Specify the category name.
23832383
*/
2384-
OpenFile(filename:string):Boolean;
2384+
OpenFile(categoryName:string):Boolean;
23852385
```
23862386

23872387
**Availability**
@@ -2417,10 +2417,11 @@ OpenFile(filename:string):Boolean;
24172417
**Example**
24182418

24192419
```javascript
2420-
DWObject.CreateFile("File1");
2421-
DWObject.CreateFile("File2");
2422-
DWObject.CreateFile("File3");
2423-
DWObject.OpenFile("File2"); //Need to call OpenFile after CreateFile.
2420+
//Stored the scanned image(s) under 'Category2'.
2421+
DWObject.CreateFile("Category1");
2422+
DWObject.CreateFile("Category2");
2423+
DWObject.CreateFile("Category3");
2424+
DWObject.OpenFile("Category2"); //Need to call OpenFile after CreateFile.
24242425
DWObject.AcquireImage(successCallback, failureCallback);
24252426

24262427
function successCallback() {
@@ -2440,7 +2441,7 @@ function failureCallback(errorCode, errorString) {
24402441

24412442
```typescript
24422443
/**
2443-
* Get the current file name. The default value is 'dynamsoft-dvs-file'.
2444+
* Get the current category name. The default value is 'dynamsoft-dvs-file'. Scanned image(s) are stored in this category by default if no category name is created.
24442445
*/
24452446
GetCurrentFileName():String;
24462447
```
@@ -2483,10 +2484,10 @@ GetCurrentFileName():String;
24832484

24842485
```typescript
24852486
/**
2486-
* Remove all images in the specified file.
2487-
* @argument filename Specify the file name.
2487+
* Delete the specified category and all images in it.
2488+
* @argument categoryName Specify the category name.
24882489
*/
2489-
RemoveFile(filename:string):Boolean;
2490+
RemoveFile(categoryName:string):Boolean;
24902491
```
24912492

24922493
**Availability**
@@ -2527,13 +2528,13 @@ RemoveFile(filename:string):Boolean;
25272528

25282529
```typescript
25292530
/**
2530-
* Get the file info list.
2531+
* Get the list of all categories and their information.
25312532
*/
25322533
GetFileInfoList():Json
25332534

25342535
Json:
25352536
[{
2536-
name: "fileName",
2537+
name: "categoryName",
25372538
imageIds:[23122335, 25566822323]
25382539
},
25392540
{……}]

info/schedule/Stable.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,24 @@ description: Dynamic Web TWAIN SDK Documentation Schedule Stable Release Page
1010

1111
# Stable Releases
1212

13+
## 17.2.5 (03/29/2022)
14+
15+
### Improved Features
16+
17+
- Updated the files *dynamsoft.webtwain.initiate.js* and *dynamsoft.webtwain.addon.camera.js* for better performance of mobile document capturing when using Safari on iOS/iPadOS 13+
18+
19+
### Bug Fixed
20+
21+
- Updated the file *dynamsoft.webtwain.initiate.js* to resolve a memory leak issue in v17.2.1 on Chrome 98+ when the <a href="{{site.info}}api/WebTwain_Viewer.html?ver=latest#setviewmode" target="_blank">view mode</a> is set to (-1, -1) or if a <a href="{{site.info}}api/WebTwain_Viewer.html?ver=latest#createthumbnailviewer" target="_blank">thumbnail viewer</a> is used.
22+
1323
## 17.2.1 (02/24/2022)
1424

1525
### Improved Features
1626

1727
- Made changes to handle <a href="https://developer.chrome.com/blog/private-network-access-preflight/" target="_blank">CORS preflight requests</a> sent by Chrome from V98. Learn more <a href="https://www.dynamsoft.com/web-twain/docs/faq/private-network-access-in-chrome101.html" target="_blank">here</a>.
1828
- For Chromium V84+, use userAgentData instead of userAgent in response to UserAgent String phasing out issue.
1929

20-
### Bug Fixed
30+
### Bug Fixes
2131

2232
- Fixed a bug where Dynamsoft Service installation/uninstallation failed due to the current user account does not match the user account under C:\Users{account}. Learn more <a href="https://www.dynamsoft.com/web-twain/docs/faq/service-installation-issue.html?ver=latest" target="_blank">here</a>.
2333
- [HTML5 on MacOS] Fixed a bug where the short key (set by <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#organizationid" target="_blank">organizationID</a>) did not work on macOS 12+.
@@ -59,7 +69,7 @@ description: Dynamic Web TWAIN SDK Documentation Schedule Stable Release Page
5969
* Modified DynamicImage.dll(DynamicImagex64.dll) to improve encoding and decoding mode of TIFF files.
6070
* Updated Barcode Reader library to version 8.6. Check out the release notes for <a href="https://www.dynamsoft.com/barcode-reader/programming/javascript/release-notes/js-8.html?ver=latest#860-08312021" target="_blank">Barcode Reader JavaScript SDK - 8.6</a>
6171

62-
### Bug Fixed
72+
### Bug Fixes
6373

6474
* Fixed a bug where the image displayed in the thumbnail may be inconsistent with that on the canvas when switching tags through `FilterImageByTag`.
6575
* Fixed a bug that Dynamic Web TWAIN object could not be initialized when using iframe in Edge.

0 commit comments

Comments
 (0)