Skip to content

Commit eb6da25

Browse files
authored
DWT 19.1
update to internal commit 2f725d38
2 parents e37eeb0 + 294a9c8 commit eb6da25

File tree

132 files changed

+483
-372
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+483
-372
lines changed

_articles/extended-usage/advanced-initialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: Advanced DWT Initialization
1313
1414
As presented in the standard [initialization guide](/_articles/general-usage/initialization.md), DWT instantiates a default `WebTwain` object in its default configuration. Here, we offer some alternative ways to instantiate `WebTwain` objects, as well as ways to alter the configuration of `WebTwain` objects.
1515

16-
> Note: jsDelivr currently has problems delivering the Dynamic Web TWAIN Service installer (`https://cdn.jsdelivr.net/npm/dwt@latest/dist/dist/DynamicWebTWAINServiceSetup.msi`) due to [size restrictions](https://www.jsdelivr.com/documentation#id-configuring-a-default-file-in-packagejson); please consider hosting this particular resource file elsewhere. UKPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).
16+
> Note: jsDelivr currently has problems delivering the Dynamic Web TWAIN Service installer (`https://cdn.jsdelivr.net/npm/dwt@latest/dist/dist/DynamicWebTWAINServiceSetup.msi`) due to [size restrictions](https://www.jsdelivr.com/documentation#id-configuring-a-default-file-in-packagejson); please consider hosting this particular resource file elsewhere. UNKPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).
1717
1818
## Auto-Loading with CDN/Package Manager Resources
1919

@@ -76,7 +76,7 @@ APIs used:
7676

7777
Setting values for `Dynamsoft.DWT.AutoLoad` and `Dynamsoft.DWT.Containers` results in identical startup behavior for resources obtained from CDNs and package managers to resources obtained from the official SDK.
7878

79-
> Note: jsDelivr currently has problems delivering the Dynamic Web TWAIN Service installer (`https://cdn.jsdelivr.net/npm/dwt@latest/dist/dist/DynamicWebTWAINServiceSetup.msi`) due to [size restrictions](https://www.jsdelivr.com/documentation#id-configuring-a-default-file-in-packagejson); please consider hosting this particular resource file elsewhere. UKPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).
79+
> Note: jsDelivr currently has problems delivering the Dynamic Web TWAIN Service installer (`https://cdn.jsdelivr.net/npm/dwt@latest/dist/dist/DynamicWebTWAINServiceSetup.msi`) due to [size restrictions](https://www.jsdelivr.com/documentation#id-configuring-a-default-file-in-packagejson); please consider hosting this particular resource file elsewhere. UNKPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).
8080
8181
## Configuring Default `WebTwain` Instances
8282

_articles/extended-usage/barcode-processing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ function ReadBarcode(index) {
332332
}
333333
}
334334
if (ProcssedImagesCount === DWTObject.HowManyImagesInBuffer) {
335-
// Print out the indice arrays, each array represents a document
335+
// Print out the index arrays, each array represents a document
336336
console.log(aryIndices);
337337
aryIndices = [];
338338
} else

_articles/extended-usage/buffer-caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ else {
7575

7676
**Load image(s) from the storage folder**
7777

78-
To load the encypted image caches into Dynamic Web TWAIN again, please use the method [`loadFromLocalStorage()`](/_articles/info/api/WebTwain_IO.md#loadfromlocalstorage).
78+
To load the encrypted image caches into Dynamic Web TWAIN again, please use the method [`loadFromLocalStorage()`](/_articles/info/api/WebTwain_IO.md#loadfromlocalstorage).
7979

8080
```javascript
8181
var bExist = await DWTObject.localStorageExist(storageItemUid); // Determine whether the folder exists

_articles/extended-usage/dynamsoft-service-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ When a request comes from a different origin, a CORS error message will be displ
6060

6161
## Installation of Dynamic Web TWAIN Service
6262

63-
On a desktop, when a new user accesses a web page using Dynamic Web TWAIN SDK for the first time, he will be prompted to install the Dynamic Web TWAIN Service. This is a built-in behaviour of the library. The prompt will display the download link. Once the installer is downloaded, the installation process will take just a few seconds.
63+
On a desktop, when a new user accesses a web page using Dynamic Web TWAIN SDK for the first time, he will be prompted to install the Dynamic Web TWAIN Service. This is a built-in behavior of the library. The prompt will display the download link. Once the installer is downloaded, the installation process will take just a few seconds.
6464

6565
The prompt comes up when you try to [create a WebTwain instance](/_articles/extended-usage/advanced-initialization.md#instantiating-webtwain-without-onwebtwainready) in Service mode.
6666

_articles/extended-usage/system-message-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Dynamsoft.DWT.CustomizableDisplayInfo = {
9696
hand: "Hand Mode",
9797
rectselect: "Select Mode",
9898
zoom: "Click to Zoom In",
99-
restore: "Restore Orginal Image",
99+
restore: "Restore Original Image",
100100
save: "Save Changes",
101101
close: "Close the Editor",
102102
removeall: "Remove All Images",

_articles/faq/DVS-is-not-defined.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ You may see this error if the Dynamic Web TWAIN resources are deployed in a cust
1616

1717
Please make sure the path to Resources folder is defined correctly and that you can find `\*.viewer.js` under the `{ResourcesPath}/src` folder. If `viewer.js` does not exist in the target directory, please verify that the Dynamic Web TWAIN resources are deployed correctly and all files have been deployed.
1818

19-
Please refer to <a href="/web-twain/docs/general-usage/server-deployment.html" target="_blank">Dynamic Web TWAIN Deployment - Server Deployment</a> for more details on server deployment
19+
Please refer to [Dynamic Web TWAIN Deployment - Server Deployment](/_articles/docs/general-usage/server-deployment.md){:target="_blank"} for more details on server deployment

_articles/faq/activeX-in-Edge-IE-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ https://www.dynamsoft.com/web-twain/docs/faq/#project-deployment-and-end-user-in
1313

1414
# How to run Dynamic Web TWAIN ActiveX in Microsoft Edge Internet Explorer (IE) mode
1515

16-
Microsoft is <a href="https://www.microsoft.com/en-us/edge/business/ie-mode" target="_blank">retiring Internet Explorer 11</a> on June 15, 2022. To support Dynamic Web TWAIN ActiveX, please configure IE mode in Edge following the steps below. For better browser compatibility, we strongly recommend <a href="/web-twain/docs/indepth/development/activex.html#move-away-from-activex" target="_blank">updating your web application with our HTML5 edition</a>.
16+
Microsoft is <a href="https://www.microsoft.com/en-us/edge/business/ie-mode" target="_blank">retiring Internet Explorer 11</a> on June 15, 2022. To support Dynamic Web TWAIN ActiveX, please configure IE mode in Edge following the steps below. For better browser compatibility, we strongly recommend [updating your web application with our HTML5 edition](/_articles/docs/indepth/development/activex.md#move-away-from-activex){:target="_blank"}.
1717

1818
### Step by step instructions to configure Microsoft Edge IE mode
1919

_articles/faq/additional-form-fields.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: How can I send additional form fields with images to my server or d
1212

1313
## How can I send additional form fields with images to my server or database?
1414

15-
You can use <a href="/web-twain/docs/info/api/WebTwain_IO.html#sethttpformfield" target="_blank">SetHTTPFormField</a> to set meta data as form fields and use <a href="/web-twain/docs/info/api/WebTwain_IO.html#httpupload" target="_blank">HTTPUpload</a> to send it to the server side with the scanned document.
15+
You can use [SetHTTPFormField](/_articles/info/api/WebTwain_IO.md#sethttpformfield){:target="_blank"} to set meta data as form fields and use [HTTPUpload](/_articles/info/api/WebTwain_IO.md#httpupload){:target="_blank"} to send it to the server side with the scanned document.
1616

1717
```javascript
1818
// Clear old fields before adding new ones
@@ -22,10 +22,10 @@ DWTObject.SetHTTPFormField("FileType", "Insurance Doc");
2222

2323
You can check out this <a href="https://demo.dynamsoft.com/Samples/dwt/Scan-Documents-and-Upload-Them/DWT_Scan_Upload_Demo.html" target="_blank">demo project</a> for sending additional form fields when uploading the scanned document.
2424

25-
<a href="/web-twain/docs/info/api/WebTwain_IO.html#sethttpformfield" target="_blank">SetHTTPFormField</a> can also be used to send image data in base64 or BLOB to the server side.
25+
[SetHTTPFormField](/_articles/info/api/WebTwain_IO.md#sethttpformfield){:target="_blank"} can also be used to send image data in base64 or BLOB to the server side.
2626

27-
By design, the method <a href="/web-twain/docs/info/api/WebTwain_IO.html#httpupload" target="_blank">HTTPUpload()</a> only contains one file. But as it essentially sends an HTTP form to the server, you can attach multiple files in that form using the methods <a href="/web-twain/docs/info/api/WebTwain_IO.html#converttoblob" target="_blank">ConvertToBlob()</a> and <a href="/web-twain/docs/info/api/WebTwain_IO.html#sethttpformfield" target="_blank">SetHTTPFormField()</a> .
28-
Check out the following snippet on how it is done. NOTE that the method <a href="/web-twain/docs/info/api/WebTwain_IO.html#httpupload" target="_blank">HTTPUpload()</a> only has 3 parameters as it doesn't need to specify a file anymore.
27+
By design, the method [HTTPUpload()](/_articles/info/api/WebTwain_IO.md#httpupload){:target="_blank"} only contains one file. But as it essentially sends an HTTP form to the server, you can attach multiple files in that form using the methods [ConvertToBlob()](/_articles/info/api/WebTwain_IO.md#converttoblob){:target="_blank"} and [SetHTTPFormField()](/_articles/info/api/WebTwain_IO.md#sethttpformfield){:target="_blank"} .
28+
Check out the following snippet on how it is done. NOTE that the method [HTTPUpload()](/_articles/info/api/WebTwain_IO.md#httpupload){:target="_blank"} only has 3 parameters as it doesn't need to specify a file anymore.
2929

3030
```javascript
3131
/**

_articles/faq/admin-privileges-needed-to-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: default-layout
33
noTitleIndex: true
44
needAutoGenerateSidebar: true
55
title: Are admin privileges required to install the end-user component?
6-
keywords: Dynamic Web TWAIN, Project Deployment and End-user Installation, sdmin privileges, install
6+
keywords: Dynamic Web TWAIN, Project Deployment and End-user Installation, admin privileges, install
77
breadcrumbText: Are admin privileges required to install the end-user component?
88
description: Are admin privileges required to install the end-user component?
99
---

_articles/faq/automatically-detect-border.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ description: Can the Dynamic Web TWAIN SDK automatically detect borders of the s
1414

1515
Yes, Dynamic Web TWAIN SDK can automatically detect borders of the scanned document if it is supported by the device and its driver. You can check whether your device supports this capability from its user manual.
1616

17-
Please use <a href="/web-twain/docs/info/api/WebTwain_Acquire.html#ifautomaticborderdetection" target="_blank">IfAutomaticBorderDetection</a> property to enable this functionality.
17+
Please use [IfAutomaticBorderDetection](/_articles/info/api/WebTwain_Acquire.md#ifautomaticborderdetection){:target="_blank"} property to enable this functionality.
1818

1919
> Note: Once enabled, the data source (scanner) will automatically detect the borders of the document so that no extra margins are scanned.

_articles/faq/automatically-rotate-upside-down-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ description: Can the Dynamic Web TWAIN SDK automatically rotate upside-down page
1212

1313
## Can the Dynamic Web TWAIN SDK automatically rotate upside-down pages during the document scanning process?
1414

15-
No, the rotation is not automatic, but it can be achieved by leveraging the rotating functionality explained in <a href="/web-twain/docs/general-usage/image-processing/image-editing.html#example---rotating-images" target="_blank">this link</a>.
15+
No, the rotation is not automatic, but it can be achieved by leveraging the rotating functionality explained in [this link](/_articles/docs/general-usage/image-processing/image-editing.md#example---rotating-images){:target="_blank"}.
1616

1717
If you need to do automatic skew correction on scanned pages, you can refer to [this article](/_articles/faq/support-image-deskew.md) for our automatic de-skewing feature.

_articles/faq/camera-play-and-showvideo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ description: What is the difference between Camera.play and Camera.showVideo?
1818

1919
Note that these two APIs cannot be mixed with each other.
2020

21-
Please check <a href="/web-twain/docs/info/api/Addon_Camera.html" target="_blank">here</a> for more information on the Camera APIs.
21+
Please check [here](/_articles/info/api/Addon_Camera.md){:target="_blank"} for more information on the Camera APIs.

_articles/faq/change-display-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Dynamsoft.DWT.CustomizableDisplayInfo = {
9292
hand: "Hand Mode",
9393
rectselect: "Select Mode",
9494
zoom: "Click to Zoom In",
95-
restore: "Restore Orginal Image",
95+
restore: "Restore Original Image",
9696
save: "Save Changes",
9797
close: "Close the Editor",
9898
removeall: "Remove All Images",

_articles/faq/change-hide-spinner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: How can I change/hide the spinner which shows during document scann
1212

1313
## How can I change/hide the spinner which shows during document scanning?
1414

15-
You can change/hide the loading bar which is shown during document scanning. The detailed steps can be found in <a href="/web-twain/docs/extended-usage/ui-customization.html#loading-bar-and-backdrop" target="_blank">this link</a>.
15+
You can change/hide the loading bar which is shown during document scanning. The detailed steps can be found in [this link](/_articles/docs/extended-usage/ui-customization.md#loading-bar-and-backdrop){:target="_blank"}.
1616

1717
<br />
1818

_articles/faq/change-reference-path.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ https://www.dynamsoft.com/web-twain/docs/faq/#project-deployment-and-end-user-in
1313
# How can I change the reference path to the Dynamsoft's resources in my project?
1414

1515
This also applies if you see the following errors in browser console, please make sure that the ResourcesPath is set correctly in *dynamsoft.webtwain.config.js* (Step 3 Below).
16-
>{"code": -2803, "message": "Loading the WebTwain JavaScipt source files failed."} <br>
16+
>{"code": -2803, "message": "Loading the WebTwain JavaScript source files failed."} <br>
1717
>{"code": -2804, "message": "Loading the WebTwain css files failed."}
1818
1919
<strong>Scenario: </strong> For customers who are using Dynamic Web TWAIN, to change the location of the 'Resources' folder, or to rename it, please following the steps below:

_articles/faq/change-resolution-of-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ description: Can I change the resolution/DPI of an image in the viewer?
1212

1313
## Can I change the resolution/DPI of an image in the viewer?
1414

15-
You can use the <a href="/web-twain/docs/info/api/WebTwain_Acquire.html#resolution" target="_blank">Resolution</a> property to check the resolution while acquiring an image. To change the resolution/DPI in the viewer, you can use the following methods:
15+
You can use the [Resolution](/_articles/info/api/WebTwain_Acquire.md#resolution){:target="_blank"} property to check the resolution while acquiring an image. To change the resolution/DPI in the viewer, you can use the following methods:
1616

17-
<a href="/web-twain/docs/info/api/WebTwain_Edit.html#setdpi" target="_blank">DWTObject.SetDPI()</a> // Changes the DPI (dots per inch) of the specified image depending on the input resolution parameters
17+
[DWTObject.SetDPI()](/_articles/info/api/WebTwain_Edit.md#setdpi){:target="_blank"} // Changes the DPI (dots per inch) of the specified image depending on the input resolution parameters

_articles/faq/component-needs-to-be-installed-on-end-user-machine.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ https://www.dynamsoft.com/web-twain/docs/faq/#project-deployment-and-end-user-in
1313

1414
# Is there any component of the Dynamic Web TWAIN SDK that needs to be installed on end-user machines?
1515

16-
For the <a href="/web-twain/docs/general-usage/initialization.html#desktop-service-edition" target="_blank">Desktop Service Edition</a>, the Dynamic Web TWAIN Service (also called "Dynamsoft Service") needs to be installed on end-user machines. By default end-users will be prompted to install Dynamic Web TWAIN Service when they access your application for the first time.
16+
For the [Desktop Service Edition](/_articles/docs/general-usage/initialization.md#desktop-service-edition){:target="_blank"}, the Dynamic Web TWAIN Service (also called "Dynamsoft Service") needs to be installed on end-user machines. By default end-users will be prompted to install Dynamic Web TWAIN Service when they access your application for the first time.
1717

18-
When you upgrade Dynamic Web TWAIN, you may also need a reinstallation of Dynamic Web TWAIN Service on the client-side. For more information, please refer to <a href="/web-twain/docs/indepth/development/upgrade.html#update-dynamsoft-service-on-the-client-side" target="_blank">Update Dynamic Web TWAIN Service on the Client-side</a>.
18+
When you upgrade Dynamic Web TWAIN, you may also need a reinstallation of Dynamic Web TWAIN Service on the client-side. For more information, please refer to [Update Dynamic Web TWAIN Service on the Client-side](/_articles/docs/indepth/development/upgrade.md#update-dynamsoft-service-on-the-client-side){:target="_blank"}.
1919

2020
If you do not want to install anything, there is an option.
2121

22-
You can enable Remote Scan, which scans documents from remote scanners connected to host machines. No installation is required on the client machine. Please check <a href="/web-twain/docs/faq/how-to-enable-remote-scan.html" target="_blank">here</a> for more information on how remote scan works and how to enable it.
22+
You can enable Remote Scan, which scans documents from remote scanners connected to host machines. No installation is required on the client machine. Please check [here](/_articles/docs/faq/how-to-enable-remote-scan.md){:target="_blank"} for more information on how remote scan works and how to enable it.

_articles/faq/connection-from-the-insecure-HTTP-to-service-failed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: default-layout
33
noTitleIndex: true
44
needAutoGenerateSidebar: true
55
title: Error Message - The connection from the insecure (HTTP) web page to the local 'Dynamsoft Service' failed
6-
keywords: Dynamic Web TWAIN, Error Meaasge, connection failed, Dynamsoft Service, HTTP
6+
keywords: Dynamic Web TWAIN, Error Message, connection failed, Dynamsoft Service, HTTP
77
breadcrumbText: Error Message - The connection from the insecure (HTTP) web page to the local 'Dynamsoft Service' failed
88
description: Error Message - The connection from the insecure (HTTP) web page to the local 'Dynamsoft Service' failed
99
---
@@ -14,7 +14,7 @@ description: Error Message - The connection from the insecure (HTTP) web page to
1414

1515
### Symptom
1616

17-
On Windows 7 x86, Win7 64 Enterprise (or any older Windows OS), you get an error message that says **"The connection from the insecure (HTTP) web page to the local 'Dynamsoft Service' failed. To fix the issue, please update your website to HTTPS or refer to <a href="/web-twain/docs/faq/http-insecure-websites-in-chromium-browser.html" target="_blank">this article</a> for other workarounds"** even if you are accessing a secure (HTTPs) web page.
17+
On Windows 7 x86, Win7 64 Enterprise (or any older Windows OS), you get an error message that says **"The connection from the insecure (HTTP) web page to the local 'Dynamsoft Service' failed. To fix the issue, please update your website to HTTPS or refer to [this article](/_articles/docs/faq/http-insecure-websites-in-chromium-browser.md){:target="_blank"} for other workarounds"** even if you are accessing a secure (HTTPs) web page.
1818

1919
And refresh the web page does not work.
2020

_articles/faq/convert-color-image-to-grayscale.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ description: Can I convert a color image to grayscale or black & white?
1414

1515
Yes, you can convert the color of an image easily by using the below methods:
1616

17-
- <a href="/web-twain/docs/info/api/WebTwain_Edit.html#converttobw" target="_blank">DWTObject.ConvertToBW()</a> // Converts the specified image to a black-and-white image
17+
- [DWTObject.ConvertToBW()](/_articles/info/api/WebTwain_Edit.md#converttobw){:target="_blank"} // Converts the specified image to a black-and-white image
1818

19-
- <a href="/web-twain/docs/info/api/WebTwain_Edit.html#converttograyscale" target="_blank">DWTObject.ConvertToGrayScale()</a> // Converts the specified image to a grayscale image
19+
- [DWTObject.ConvertToGrayScale()](/_articles/info/api/WebTwain_Edit.md#converttograyscale){:target="_blank"} // Converts the specified image to a grayscale image

0 commit comments

Comments
 (0)