Skip to content

Commit c8bbf09

Browse files
Merge pull request #928 from dynamsoft-docs/preview
update to internal commit 9c4c7c27
2 parents fee675d + 7067f56 commit c8bbf09

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ keywords: Dynamic Web TWAIN, Addon, webassembly, webcam capture
77
breadcrumbText: What is the difference between Camera.play and Camera.showVideo?
88
description: What is the difference between Camera.play and Camera.showVideo?
99
date: 2021-12-01 01:09:41 +0800
10-
last_modified: 2022-06-10 04:40:03 +0800
10+
last_modified: 2025-09-19 10:12:03 +0800
1111
---
1212

1313
# Addon
1414

1515
## What is the difference between Camera.play and Camera.showVideo?
1616

17+
> **The Camera Add-on has been removed since Dynamic Web TWAIN [18.1](_articles/info/schedule/deprecated.md#181).** An alternative replacement for this module is [Mobile Document Scanner](https://www.dynamsoft.com/use-cases/mobile-document-scanner/).
18+
1719
`Camera.showVideo` is a built-in feature to handle camera capturing, prospective adjusting, etc. It supports two available modes: document and picture.
1820

1921
`Camera.play` is a more specific API for starting streaming video from the current camera.
2022

2123
Note that these two APIs cannot be mixed with each other.
22-
23-
Please check [here](/_articles/info/api/Addon_Camera.md){:target="_blank"} for more information on the Camera APIs.

_articles/faq/import-existing-documents-or-images.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ keywords: Dynamic Web TWAIN, Capture/ Image Source, import, existing images
77
breadcrumbText: Can I import existing images or PDF documents using the Dynamic Web TWAIN SDK?
88
description: Can I import existing images or PDF documents using the Dynamic Web TWAIN SDK?
99
date: 2021-12-08 03:01:32 +0800
10-
last_modified: 2024-09-19 08:47:35 +0800
10+
last_modified: 2025-09-18 17:09:35 +0800
1111
---
1212

1313
# Capture/Image Source
1414

1515
## Can I import existing images or PDF documents using the Dynamic Web TWAIN SDK?
1616

17-
Yes, Dynamic Web TWAIN supports loading PNG, JPG, BMP, image-only PDF, and TIFF files. But if you need to support text-based PDF files, you also require the <a href="https://www.dynamsoft.com/web-twain/pdf-to-image-javascript/" target="_blank">PDF Rasterizer Addon</a>. See more [here](/_articles/indepth/features/pdf.md#input){:target="_blank"}.
17+
Yes, Dynamic Web TWAIN supports loading PNG, JPG, BMP, image-only PDF, and TIFF files. But if you need to support text-based PDF files, you also require the <a href="https://www.dynamsoft.com/web-twain/pdf-to-image-javascript/" target="_blank">PDF Rasterizer Addon</a>.
1818

1919
**Code snippet**
2020

@@ -37,3 +37,7 @@ DWTObject.Addon.PDF.SetReaderOptions({
3737

3838
DWTObject.LoadImage();
3939
```
40+
41+
#### Related Links
42+
[PDF Rasterizer Guide](/_articles/extended-usage/pdf-processing.md){:target="_blank"}.
43+
[API Documentation](/_articles/info/api/Addon_PDF.md)

_articles/info/schedule/deprecated.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ Deprecate the enum value CM_RENDERALLWITHANNOTATION from [`Dynamsoft.DWT.EnumDWT
6868

6969
* Dynamsoft.DWT.GetWebTwainEx()
7070

71+
## 18.1
72+
73+
The WASM edition (camera add-on) is removed from Web TWAIN. The following API is deprecated: `UseLocalService`.
74+
75+
7176
## 18.0
7277

7378
### Dynamic Web TWAIN
@@ -105,7 +110,7 @@ Deprecate the enum value CM_RENDERALLWITHANNOTATION from [`Dynamsoft.DWT.EnumDWT
105110

106111
### Camera Add-On
107112

108-
> [Alternative] Use [scanDocument](/_articles/info/api/Addon_Camera.md#scandocument) instead.
113+
> [Alternative] Use [Mobile Document Scanner](https://www.dynamsoft.com/use-cases/mobile-document-scanner/) instead.
109114
110115
* Camera.showVideo()
111116

web.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,12 @@
239239
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
240240
<action type="Redirect" url="{HTTP_POST}/web-twain/docs/introduction/index.html" appendQueryString="false" logRewrittenUrl="false" />
241241
</rule>
242+
243+
<rule name="Redirect camera api https://www.dynamsoft.com/web-twain/docs/info/api/Addon_Camera.html" enabled="true" patternSyntax="ECMAScript">
244+
<match url="info/api/Addon_Camera.html" ignoreCase="true" negate="false" />
245+
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
246+
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs-archive/v18.0/info/api/Addon_Camera.html" appendQueryString="false" logRewrittenUrl="false" />
247+
</rule>
242248
</rules>
243249
</rewrite>
244250
</system.webServer>

0 commit comments

Comments
 (0)