Skip to content
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
6 changes: 3 additions & 3 deletions _articles/faq/camera-play-and-showvideo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ keywords: Dynamic Web TWAIN, Addon, webassembly, webcam capture
breadcrumbText: What is the difference between Camera.play and Camera.showVideo?
description: What is the difference between Camera.play and Camera.showVideo?
date: 2021-12-01 01:09:41 +0800
last_modified: 2022-06-10 04:40:03 +0800
last_modified: 2025-09-19 10:12:03 +0800
---

# Addon

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

> **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/).

`Camera.showVideo` is a built-in feature to handle camera capturing, prospective adjusting, etc. It supports two available modes: document and picture.

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

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

Please check [here](/_articles/info/api/Addon_Camera.md){:target="_blank"} for more information on the Camera APIs.
8 changes: 6 additions & 2 deletions _articles/faq/import-existing-documents-or-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ keywords: Dynamic Web TWAIN, Capture/ Image Source, import, existing images
breadcrumbText: Can I import existing images or PDF documents using the Dynamic Web TWAIN SDK?
description: Can I import existing images or PDF documents using the Dynamic Web TWAIN SDK?
date: 2021-12-08 03:01:32 +0800
last_modified: 2024-09-19 08:47:35 +0800
last_modified: 2025-09-18 17:09:35 +0800
---

# Capture/Image Source

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

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"}.
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>.

**Code snippet**

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

DWTObject.LoadImage();
```

#### Related Links
[PDF Rasterizer Guide](/_articles/extended-usage/pdf-processing.md){:target="_blank"}.
[API Documentation](/_articles/info/api/Addon_PDF.md)
7 changes: 6 additions & 1 deletion _articles/info/schedule/deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ Deprecate the enum value CM_RENDERALLWITHANNOTATION from [`Dynamsoft.DWT.EnumDWT

* Dynamsoft.DWT.GetWebTwainEx()

## 18.1

The WASM edition (camera add-on) is removed from Web TWAIN. The following API is deprecated: `UseLocalService`.


## 18.0

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

### Camera Add-On

> [Alternative] Use [scanDocument](/_articles/info/api/Addon_Camera.md#scandocument) instead.
> [Alternative] Use [Mobile Document Scanner](https://www.dynamsoft.com/use-cases/mobile-document-scanner/) instead.

* Camera.showVideo()

Expand Down
6 changes: 6 additions & 0 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,12 @@
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="{HTTP_POST}/web-twain/docs/introduction/index.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>

<rule name="Redirect camera api https://www.dynamsoft.com/web-twain/docs/info/api/Addon_Camera.html" enabled="true" patternSyntax="ECMAScript">
<match url="info/api/Addon_Camera.html" ignoreCase="true" negate="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Redirect" url="https://www.dynamsoft.com/web-twain/docs-archive/v18.0/info/api/Addon_Camera.html" appendQueryString="false" logRewrittenUrl="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
Expand Down