Resources Base
Table of contents

Frequently Asked Questions

For what purposes can I use DWT

DWT can be used for controlling any work of scanners, digital cameras and any other devices that support the protocals/interfaces TWAIN / ICA / SANE / DirectShow / MediaDevices, etc. Please check out hardware for more details.

DWT can open/decode files in the formats BMP / JPG / TIF / PNG / PDF or save the resulting images back to any of these formats.

DWT can upload and download files through FTP or HTTP(s).

DWT can read barcode or recognize characters on images or PDFs.

Check out more on dwt features.

Does DWT support all scanners

Not all scanners follow the standard protocols, therefore not all scanners are supported. A known example is the ScanSnap series. Check out more here.

Are all scanners in the source list available

No. Although some smart scanner drivers will hide themselves when the scanners are unplugged, most scanner drivers still show up even if the scanners are no longer hooked. This is something DWT can not control. Therefore, please make sure a device is connected before you try to use it.

Can I use DWT for free

DWT is a commercial software. Generally, Dynamsoft allows it to be used free of charge for up to 60 days with automatically generated trial licenses after which a commercial license needs to be purchased.

What can I do when my trial license expires

DWT comes with a 30-day free trial license from the day the software is installed with the Official installer. After that, a developer can extend the trial twice on this page.

If more time is required for evaluation purposes, you can contact Dynamsoft Support.

What if I want Dynamsoft help with the implementation

Dynamsoft provides detailed documentation including multiple samples for DWT . However, if you don’t want to do the development yourself, you can take advantage of the Professional Virtual Developer Service.

What are the most common issues when clients start to use my scan application

  • When end clients visit your scan page for the first time on a desktop, they will be automatically asked to download and manually install the Dynamsoft Service. Make sure the clients are aware of this.
  • DWT is NOT the scanner driver. Instead, it works with scanners via their own vendor-developed drivers. Make sure the proper driver is installed and the scanner itself already works on the system before attempting to use it with DWT .

What are the Resources files

Resources files help you include DWT in your application. The following shows the purpose of these files.

Resources is the default name of the folder that contain these files. It can be changed. For example, in the dwt package, it’s called dist.

Default files

  • dynamsoft.webtwain.config.js

This file is used to make basic configuration of the Dynamic Web TWAIN library. It’s where you enter the product key for the product and to change the initial viewer size, etc.

  • dynamsoft.webtwain.initiate.js

This file is the core of the Dynamic Web TWAIN library.

  • dynamsoft.webtwain.install.js

This file is used to configure the dialogs which are shown when the Dynamic Web TWAIN library is not installed or needs to be upgraded. This file is already referenced inside the dynamsoft.webtwain.initiate.js

  • Readme.txt
  • addon
    • dynamsoft.upload.js

    This file contains the functionalities of the Dynamsoft Upload Module.


    This file contains the functionalities of the Camera addon.

    • dynamsoft.webtwain.addon.ocr.js

    This file contains the functionalities of the OCR Basic addon. It’s not included by default, contact Dynamsoft Support to get it.

    • dynamsoft.webtwain.addon.ocrpro.js

    This file contains the functionalities of the OCR Professional addon. It’s not included by default, contact Dynamsoft Support to get it.

    • dynamsoft.webtwain.addon.pdf.js

    This file contains the functionalities of the PDF Rasterizer addon.


    This file contains the functionalities of the Webcam addon.

    • dynamsoft.webtwain.addon.barcodereader.js

    This file contains the functionalities of the Barcode addon.

    • dbrjs

    These files are meant for the barcode reader addon under WASM mode.

    • dbr.js
    • dbr-
    • dbr-
    • dbr-
  • dist

    Under this directory are the installers for the Dynamsoft Service which needs to be manually installed on each client machine that uses the Dynamic Web TWAIN library as a service.

    • DynamsoftServiceSetup.deb

    For Linux (Debian)

    • DynamsoftServiceSetup.rpm

    For Linux (Redhat)

    • DynamsoftServiceSetup.msi

    For Windows

    • DynamsoftServiceSetup.pkg

    For macOS

    • src

    These files contain the following functionalities for the WASM-mode

    • image input & output
    • decode & encode
    • PDF read & write
    • Viewer & UI
    • dynamsoft.imageio.js
    • dynamsoft.imageio_wasm-.js
    • dynamsoft.imagecore-.wasm
    • dynamsoft.imageio-.wasm
    • dynamsoft.imageProc-.wasm
    • dynamsoft.pdfReader-.wasm
    • dynamsoft.pdfWriter-.wasm
    • dynamsoft.viewer.css
    • dynamsoft.viewer.js
    • dynamsoft.webtwain.css

Other Resources files

The following two files are present in the dwt package.

  • dynamsoft.webtwain.min.js

This is an all-in-one JavaScript file that consists of the files dynamsoft.webtwain.initiate.js , dynamsoft.webtwain.config.js , dynamsoft.webtwain.install.js as well as all the add-on JavaScript files. If you include this file in the application, you no longer need to include these constituent files separately.

  • dynamsoft.webtwain.min.mjs

This file is like dynamsoft.webtwain.min.js but is built by the ECMAScript 6 (ES6) standard. It’s used by applications (Angular, React, Vue, etc.) that import the dwt package as a module.

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support