Table of contents

Thanks for Downloading Dynamic Web TWAIN 30-Day Trial!

Your download will start shortly. If your download does not begin, click here to retry.

General

What are the Resources files?

Resources files help you include Dynamic Web TWAIN 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.initiate_cus.js

This file is the core of the Dynamic Web TWAIN customized library, please do not use it if there is no requirement.

  • 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.

    • dynamsoft.webtwain.addon.pdf.js

    This file contains the functionalities of the PDF Rasterizer addon.

    • dynamsoft.webtwain.addon.webcam.js

    This file contains the functionalities of the Webcam addon.

    • dynamsoft.webtwain.addon.barcodereader.js

    This file contains the functionalities of the Barcode addon.

  • 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

    • LICENSE
  • src

    These files contain the following functionalities

    • image input & output
    • image decode & encode
    • PDF read & write
    • Viewer & UI
    • dynamsoft.lts.js
    • dynamsoft.webtwain.activex.js
    • dynamsoft.webtwain.viewer.css
    • dynamsoft.webtwain.viewer.viewer.js
    • dynamsoft.webtwain.viewer.js

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.

    • dynamsoft.webtwain.addon.camera.js

    This file contains the functionalities of the Camera addon.

    • dynamsoft.webtwain.addon.pdf.js

    This file contains the functionalities of the PDF Rasterizer addon.

    • dynamsoft.webtwain.addon.webcam.js

    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 for using by the Camera addon.

    • dbr.js
    • dbr-7.4.0.1.full.wasm
    • dbr-7.4.0.1.full.wasm.js
    • dbr-7.4.0.1.worker.js
  • 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

    • LICENSE
  • src

    These files contain the following functionalities

    • image input & output
    • image 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 Dynamic Web TWAIN 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 Dynamic Web TWAIN package as a module.

Is this page helpful?

YesYes NoNo

In this article: