You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _articles/faq/XMLHttpRequest-cannot-load.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,3 +50,5 @@ Try uploading to the same domain or update the server side configuration to allo
50
50
> If you are downloading a file, you might need to clear the browser cache because a cached file will not be requested again from the server, thus still no 'Access-Control-Allow-Origin' header will be presented.
51
51
>
52
52
> If you are using Windows Authentication, you may need to change the default setting of `withCredentials` in the `dynamsoft.webtwain.initiate.js` file. To do that, open the JS file, find `withCredentials:false` and change it to `withCredentials:true` .
53
+
54
+
TODO: I can no longer find the keyword `withCredentials:false` in the latest `dynamsoft.webtwain.initiate.js`, it is now `withCredentials:!1`. Please advise on how this FAQ needs to be changed, or if it is still necessary at all.
## Is the AcquireImage() method synchronous or asynchronous?
16
16
17
17
[AcquireImage()](/_articles/info/api/WebTwain_Acquire.md#acquireimage){:target="_blank"} is an asynchronous method, regardless of whether it includes a callback function or not.
18
+
19
+
TODO: Needs clarification on the different APIs. I think it would be better that the differences are addressed in API documentation rather than a separate FAQ.
# How to run Dynamic Web TWAIN ActiveX in Microsoft Edge Internet Explorer (IE) mode
17
17
18
+
> ActiveX support was removed starting in Dynamic Web TWAIN v19. This article is archived for customers running versions earlier than 19. For supported browsers in v19 and later, please migrate to the HTML5 edition.
19
+
18
20
Microsoft is <ahref="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/indepth/development/activex.md#move-away-from-activex){:target="_blank"}.
19
21
20
22
### Step by step instructions to configure Microsoft Edge IE mode
breadcrumbText: Can the Dynamic Web TWAIN SDK automatically rotate upside-down pages during the document scanning process?
8
8
description: Can the Dynamic Web TWAIN SDK automatically rotate upside-down pages during the document scanning process?
9
9
date: 2021-12-08 03:01:32 +0800
10
-
last_modified: 2022-06-10 04:40:03 +0800
10
+
last_modified: 2026-01-21 14:51:06 -08:00
11
11
---
12
12
13
13
# Capture/Image Source
14
14
15
15
## Can the Dynamic Web TWAIN SDK automatically rotate upside-down pages during the document scanning process?
16
16
17
-
No, the rotation is not automatic, but it can be achieved by leveraging the rotating functionality explained in [this link](/_articles/general-usage/image-processing/image-editing.md#example---rotating-images){:target="_blank"}.
17
+
Dynamic Web TWAIN does not auto-rotate pages by default, but you can rotate images in code using the API covered in [this example](/_articles/general-usage/image-processing/image-editing.md#example---rotating-images){:target="_blank"}.
18
18
19
-
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.
19
+
If you have the OCR Add-on (v19.3+), you can call [`DetectPageOrientation()`](/_articles/info/api/Addon_OCR.md#detectpageorientation){:target="_blank"} to detect the page orientation from recognized text and use that result to decide how to rotate.
20
+
21
+
Some scanners also offer an AutoDeskew/AutoRotate capability that runs on the device. If your scanner supports it, enable that option (see [our de-skew guidance](/_articles/faq/support-image-deskew.md) for scanner-side setup); otherwise, use the rotation API noted above based on your own detection logic.
## Warning message - Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true.
16
16
17
+
> Archived: This warning was fixed in Dynamic Web TWAIN 18.0. The steps below are only for projects pinned to versions prior to 18.0.
18
+
17
19
### Symptom
18
20
19
21
When you are using Chrome 107(developer version) & 106 (official version) or any version above these, you could encounter a warning in console:
@@ -34,7 +36,6 @@ Step 1. Navigate to '<strong>../Resources/dynamsoft.webtwain.initiate.js</strong
34
36
35
37
Step 2. Navigate to '<strong>../Resources/src/dynamsoft.viewer.js</strong>' replace all `getContext("2d")` to `getContext("2d",{willReadFrequently:true})`
36
38
39
+
### Status
37
40
38
-
### Planning
39
-
40
-
It will be fixed in version 18.0 officially.
41
+
Fixed in Dynamic Web TWAIN 18.0+. No action is needed on supported versions.
# Is there any component of the Dynamic Web TWAIN SDK that needs to be installed on end-user machines?
17
17
18
-
For the [Desktop Service Edition](/_articles/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.
18
+
For the [Desktop Service Edition](/_articles/general-usage/initialization.md#desktop-service-edition){:target="_blank"}, end users need the Dynamic Web TWAIN Service installed locally (this was called “Dynamsoft Service” prior to v19.0). They are prompted to install it the first time they open your application.
19
19
20
-
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/indepth/development/upgrade.md#update-dynamsoft-service-on-the-client-side){:target="_blank"}.
20
+
When you upgrade Dynamic Web TWAIN, plan to reinstall the service on client machines if required. See [Update Dynamic Web TWAIN Service on the Client-side](/_articles/indepth/development/upgrade.md#update-dynamsoft-service-on-the-client-side){:target="_blank"} for details.
21
21
22
-
If you do not want to install anything, there is an option.
23
-
24
-
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/faq/how-to-enable-remote-scan.md){:target="_blank"} for more information on how remote scan works and how to enable it.
22
+
If you prefer zero client-side installation, enable Remote Scan. It routes scanning through a host machine’s service, so the browser client installs nothing. Learn how to enable it [here](/_articles/faq/how-to-enable-remote-scan.md){:target="_blank"}.
When attempting to upload images web server the upload fails and you receive the error message.
19
+
When attempting to upload images to your web server, the upload fails and you see this error message.
20
20
21
21
### Cause
22
22
23
-
The problem may occur when a connection with the server is not available.
23
+
This usually means the client cannot reach the server.
24
24
25
25
### Resolution
26
26
27
-
-Check if the HTTP port you set in your code coincides with the port number you set on your web server. You can use the [HTTPPort](/_articles/info/api/WebTwain_IO.md#httpport) property to set the port number.
28
-
-Make sure the address of the server is available. To check this, you can ping the address from a client machine.
27
+
-Verify the HTTP port in your code matches the server’s listening port. Set it with [`HTTPPort`](/_articles/info/api/WebTwain_IO.md#httpport).
28
+
-Confirm the server address is reachable (ping it from a client machine). Use either the machine name or IP with `HTTPUpload`.
29
29
30
30
> Note:
31
-
> Both the machine name and the IP address of the server can be used for the HTTPUpload method.
31
+
> Both the machine name and the IP address of the server can be used for the [`HTTPUpload`](/_articles/info/api/WebTwain_IO.md#httpupload) method.
0 commit comments