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: faq/debug-on-online-demo.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@ With the widespread application of the Dynamic Web TWAIN SDK in the market, more
18
18
**Step 1:**
19
19
20
20
Visit Dynamic Web TWAIN Online Demo: [https://demo.dynamsoft.com/web-twain/](https://demo.dynamsoft.com/web-twain/)
21
-
Open your web browser console (f12 or right clicking and inspecting) and navigate to the console tab. From here we can make calls directly into the browser.
22
21
23
22
**Step 2:**
24
23
@@ -38,4 +37,4 @@ And you can test the API as much as you want. Let's take the [ConvertToBase64](h
Now that you've had the opportunity to preview how the DWT API operates in the web application, you can explore more features by reviewing the [API documentation]({{site.info}}api/).
40
+
Now that you've had the opportunity to preview how the DWT API operates in the web application, you can explore more features by reviewing the [API documentation]({{site.info}}api/).
## Are you flexible to discuss custom licensing models?
15
15
16
-
Yes. We understand our standard options may not cover your need, so we are very flexible with different licensing metrics to best serve your business. Please submit your request via <ahref="https://www.dynamsoft.com/store/dynamic-web-twain/"target="_blank">this form</a> or directly <ahref="https://www.dynamsoft.com/contact/"target="_blank">contact us</a>.
16
+
Yes. We understand our standard options may not cover your need, so we are very flexible with different licensing metrics to best serve your business. Please submit your request via <ahref=""target="_blank">this form</a> or directly <ahref=""target="_blank">contact us</a>.
Copy file name to clipboardExpand all lines: info/api/interfaces.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1668,7 +1668,7 @@ interface ReaderOptions {
1668
1668
renderGrayscale?:boolean;
1669
1669
}
1670
1670
/**
1671
-
* Set whether to preserve original file size when saving an unedited PDF. Default value: false.
1671
+
* Set whether to preserve original file size when saving an unedited PDF whose pages were not modified under any raster operations. Default value: false.
|`X-DICS-LICENSE-KEY`|header|`string`| yes | none |A DWT license key with the Barcode Reader and RESTful API module. Contact our [sales team](https://www.dynamsoft.com/company/contact/) for a full license, or get a [30-day free trial](https://www.dynamsoft.com/web-twain/downloads/).|
1839
-
|`body`|body|[`CreateProcessOptions`](#createprocessoptions)| no |none|
1827
+
|`source`|body|`string`| yes |Scan job URL |Image source URL from the scan job, e.g. `https://127.0.0.1:18623/api/device/scanners/jobs/dd40716d-48d1-4d32-89f7-1d53f9665d91/next-page?page=19522d0c5282`.|
1828
+
|`settings`|body|`string`| Valid barcode reading template JSON - see [`RuntimeSettings`]({{ site.api }}Interfaces.html#runtimesettings) for more details |no| Barcode reader template settings. Defaults to the `BestCoverage` setting by default. The basic settings are `BestCoverage`, `BestSpeed`, and `Balance`. Read the Barcode Reader Add-On guide for details on [basic settings]({{ site.extended-usage }}barcode-processing.html#built-in-modes) and advanced [scanning templates]({{ site.extended-usage }}barcode-processing.html#set-the-runtime-settings-using-json).|
1840
1829
1841
1830
#### Request Example:
1842
1831
@@ -1931,23 +1920,12 @@ Create a new document process to check if a scanned page is blank.
1931
1920
1932
1921
Blank page detection is **only supported on Windows**.
|`source`|body|`string`| yes |Scan job URL |Image source URL from the scan job, e.g. `https://127.0.0.1:18623/api/device/scanners/jobs/dd40716d-48d1-4d32-89f7-1d53f9665d91/next-page?page=19522d0c5282`.|
1928
+
|`settings`|body|[`CheckBlankSettings`](#checkblanksettings)| no |none |Maximum and minimum blemish pixel height detection thresholds.|
1951
1929
1952
1930
#### Request Example:
1953
1931
@@ -1962,6 +1940,10 @@ let myHeaders = new Headers();
@@ -2287,15 +2266,15 @@ Currently, only return log level.
2287
2266
2288
2267
|Name|Type|Required|Restrictions|Description|
2289
2268
|---|---|---|---|---|
2290
-
|`settings`|`object`|no| - `coverage`: high reading accuracy<br/> - `speed`: high reading speed<br/> - `balance`: balance between `coverage` and `speed`<br/> - JSON: custom scanning template |Barcode reader template settings. Defaults to the `coverage` setting by default. The basic settings are `coverage`, `speed`, and `balance`. Read the Barcode Reader Add-On guide for details on [basic settings]({{ site.extended-usage }}barcode-processing.html#built-in-modes) and advanced [scanning templates]({{ site.extended-usage }}barcode-processing.html#set-the-runtime-settings-using-json).|
2291
-
|`source`|`string`|true|Image source URL from the scan job, e.g. `https://127.0.0.1:18623/api/device/scanners/jobs/dd40716d-48d1-4d32-89f7-1d53f9665d91/next-page?page=19522d0c5282`.||
2269
+
|`version`|`string`|false|none|server api version.|
2270
+
|`compatible`|`boolean`|false|none|server is compatible with the client.|
2292
2271
2293
-
### `VersionInfo`
2272
+
### `CheckBlankSettings`
2294
2273
2295
2274
```json
2296
-
{
2297
-
"version": "20240719",
2298
-
"compatible": true
2275
+
"settings": {
2276
+
"minBlockHeight": 20,
2277
+
"maxBlockHeight": 30
2299
2278
}
2300
2279
2301
2280
```
@@ -2304,8 +2283,8 @@ Currently, only return log level.
2304
2283
2305
2284
|Name|Type|Required|Restrictions|Description|
2306
2285
|---|---|---|---|---|
2307
-
|`version`|`string`|false|none|server api version.|
2308
-
|`compatible`|`boolean`|false|none|server is compatible with the client.|
-**Greatly expanded support for the [RESTful Dynamic Web TWAIN Service]({{ site.extended-usage }}restful-api.html).**
19
19
-**PDF Handling**:
20
-
- Added new PDF Rasterizer Add-On API [`preserveUnmodifiedOnSave`]({{ site.api }}Addon_PDF.html#setreaderoptions) to preserve the size of text-based PDFs when loading and re-saving without modifying the pages with DWT.
20
+
- Added new PDF Rasterizer Add-On API [`preserveUnmodifiedOnSave`]({{ site.api }}interfaces.html#readeroptions) to preserve the size of unmodified PDF pages when saving.
21
21
- Added new PDF Rasterizer Add-On API [`IsRasterizationRequired()`]({{ site.api }}Addon_PDF.html#israsterizationrequired). This API returns true if the PDF Rasterizer Add-On is needed to process the PDF. Note that this requires a license for the PDF Rasterizer Add-On.
22
22
-**Cross-platform support**: Added macOS and Linux platform support for DWT Barcode Reader Add-On version 9.6.
23
23
-**Error messages**: Added more informative error messages with the new [`ErrorCause`]({{ site.api }}WebTwain_Util.html#errorcause) API.
-**Security enhancements**: updated third-party libraries to enhance security.
29
-
-**Image rasterization logic**: when both [`ReaderOptions.renderOptions.maxWidth/ ReaderOptions.renderOptions.maxHeight and resolution`]({{ site.api }}Addon_PDF.html#setreaderoptions) are set, if the dimensions of the rendered image exceed the maximum width and height, use the resolution applied during the image rendering process rather than the set resolution.
29
+
-**Image rasterization logic**: when both [`ReaderOptions.renderOptions.maxWidth/ ReaderOptions.renderOptions.maxHeight and resolution`]({{ site.api }}interfaces.html/setreaderoptions) are set, if the dimensions of the rendered image exceed the maximum width and height, use the resolution applied during the image rendering process rather than the set resolution.
30
30
-**New Dynamic Web TWAIN Service installation path for Windows**: moved installation out of `SysWOW64` and `System32` on Windows to prevent rare false positive antivirus scans.
31
-
- New 64-bit system-wide installations: `C:\Program Files\Dynamsoft (x86)\Dynamic Web TWAIN Service 19`
31
+
- New 64-bit system-wide installations: `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service 19`
32
32
- New 32-bit system-wide installation location: `C:\Program Files\Dynamsoft\Dynamic Web TWAIN Service 19`
33
33
- Changed `ErrorString` messages associated with `ErrorCode -2003` for `HTTPUpload`-related APIs to include HTTP codes in the form of `HTTP process: {message}({HTTP status code})`, e.g. `HTTP process: OK(200)`. This change applies to `ErrorString` for the following APIs:
-**Enhance the customizability of thumbnail viewer**: add a position property to its [event]({{ site.api }}interfaces.html#thumbnailviewerevent) to facilitate the customization. For example, we can add a delete icon when the mouse is over it.
0 commit comments