Skip to content

update to internal commit ca53e07d #902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _articles/extended-usage/advanced-initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: Advanced DWT Initialization

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.

> 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).
> 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. UNPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).

## Auto-Loading with CDN/Package Manager Resources

Expand Down Expand Up @@ -76,7 +76,7 @@ APIs used:

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.

> 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).
> 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. UNPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).

## Configuring Default `WebTwain` Instances

Expand Down
2 changes: 1 addition & 1 deletion _articles/general-usage/resource-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ APIs used:

### Loading from [jsDelivr](https://cdn.jsdelivr.net/npm/dwt@latest/dist/dynamsoft.webtwain.min.js)

Note that jsDelivr currently has problems delivering the Dynamic Web TWAIN Service installer (`https://cdn.jsdelivr.net/npm/dwt@latest/dist/dist/`) 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).
Note that jsDelivr currently has problems delivering the Dynamic Web TWAIN Service installer (`https://cdn.jsdelivr.net/npm/dwt@latest/dist/dist/`) due to [size restrictions](https://www.jsdelivr.com/documentation#id-configuring-a-default-file-in-packagejson); please consider hosting this particular resource file elsewhere. UNPKG is currently unaffected. For information about the Dynamic Web TWAIN Service, learn more [here](/_articles/extended-usage/dynamsoft-service-configuration.md).

```html
<html>
Expand Down
6 changes: 3 additions & 3 deletions _articles/info/api/WebTwain_Edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The properties and methods on this page live in the namespace {WebTwainObject}.
| [`Rotate()`](#rotate) | [`RotateEx()`](#rotateex) | [`RotateLeft()`](#rotateleft) | [`RotateRight()`](#rotateright) |
| [`ChangeBitDepth()`](#changebitdepth) | [`SetDPI()`](#setdpi) | [`ConvertToBW()`](#converttobw) | [`ConvertToGrayScale()`](#converttograyscale) |
| [`ChangeImageSize()`](#changeimagesize) | [`Invert()`](#invert) | [`SetImageWidth()`](#setimagewidth) | [`ChangeBrightnessAsync()`](#changebrightnessasync) |
| [`ChangeContrastAsync()`](#changecontrastasync) |
| [`ChangeContrastAsnyc()`](#changecontrastasnyc) |

<!--
* [Crop()](#crop)
Expand Down Expand Up @@ -1333,14 +1333,14 @@ ChangeBrightnessAsync(

---

## ChangeContrastAsync()
## ChangeContrastAsnyc()

Change the image contrast.

**Syntax**

```typescript
ChangeContrastAsync(
ChangeContrastAsnyc(
index: number,
value: number
): Promise<boolean>;
Expand Down
2 changes: 1 addition & 1 deletion _articles/info/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ breadcrumbText: API Reference
| [`Rotate()`](/_articles/info/api/WebTwain_Edit.md#rotate) |[`RotateEx()`](/_articles/info/api/WebTwain_Edit.md#rotateex)| [`RotateLeft()`](/_articles/info/api/WebTwain_Edit.md#rotateleft) | [`RotateRight()`](/_articles/info/api/WebTwain_Edit.md#rotateright)|
| [`ChangeBitDepth()`](/_articles/info/api/WebTwain_Edit.md#changebitdepth) | [`SetDPI()`](/_articles/info/api/WebTwain_Edit.md#setdpi)|[`ConvertToBW()`](/_articles/info/api/WebTwain_Edit.md#converttobw) |[`ConvertToGrayScale()`](/_articles/info/api/WebTwain_Edit.md#converttograyscale)|
|[`ChangeImageSize()`](/_articles/info/api/WebTwain_Edit.md#changeimagesize) | [`Invert()`](/_articles/info/api/WebTwain_Edit.md#invert)|[`SetImageWidth()`](/_articles/info/api/WebTwain_Edit.md#setimagewidth)|[`ChangeBrightnessAsync()`](/_articles/info/api/WebTwain_Edit.md#changebrightnessasync)|
|[`ChangeContrastAsync()`](/_articles/info/api/WebTwain_Edit.md#changecontrastasnyc)|
|[`ChangeContrastAsnyc()`](/_articles/info/api/WebTwain_Edit.md#changecontrastasnyc)|

<!--
* [`Crop()`](/_articles/info/api/WebTwain_Edit.md#crop)
Expand Down