How to better store and organize your documents?

Dynamic Web TWAIN Online Demo

As the technology developing, more and more individuals and businesses incline to store files digitally, such as company documents, contracts, invoices, patient charts and more. Once you get the images and documents scanned, you are promised to share the digital copies more conveniently and efficiently with your team members, in various file formats.

Dynamic Web TWAIN is such a browser plug-in that enables you to acquire documents from the scanners and other TWAIN compatible devices. On top of that, you can neatly category and organize your images, and upload them to your system, such as web server, database and SharePoint.

1. Load Existing Images

Before using Dynamic Web TWAIN, you may have scanned images using other imaging tools. Or you just get a bunch of images from your customers. The Load Image feature available in Dynamic Web TWAIN allows you to load those existing images for further combination and arrangement.

Load images from your local folder. Please find the sample code below.

//load existing images

function btnLoad_onclick() {

//scan new images from your scanners

function btnScan_onclick() {

You can also download images from your web server.

//download ImageData.jpg from localhost/WebTWAIN/Images/

function btnHTTPDownload_onclick() {
WebTWAIN.HTTPDownload("localhost", "/WebTWAIN/Images/ImageData.jpg");

2. Category the Scanned/Loaded Images

You can take advantage of the blank page detection feature to category the scanned images. And then save/upload the categorized images to different files and even different locations.

3. Upload the Scanned Images

Dynamic Web TWAIN supports image formats including BMP, PNG, JPEG, PDF and TIFF. Multipage PDF and TIFF are also supported. After you scan, category and edit the documents, you can upload them to your local folder, FTP site, web server and/or database. The following sample shows you how to upload all the scanned images to your web server as a multi-page PDF file.

Snippet in Scan.aspx:

function btnUpload_onclick() {
var strActionPage;
var strHostIP;
var CurrentPathName = unescape(location.pathname); // get current PathName in plain ASCII
var CurrentPath = CurrentPathName.substring(0, CurrentPathName.lastIndexOf("/") + 1);
strActionPage = CurrentPath + "SaveToFile.aspx"; //the ActionPage's file path

strHostIP = "localhost"; //The host's IP or name
WebTWAIN.HTTPPort = 80;
WebTWAIN.HTTPUploadAllThroughPostAsPDF(strHostIP, strActionPage, "imageData.pdf");

if (WebTWAIN.ErrorCode != 0) {

else { //succeded
alert("Image Uploaded successfully!");


<%@ Page Language="C#" %>

String strImageName;
HttpFileCollection files = HttpContext.Current.Request.Files;
HttpPostedFile uploadfile = files["RemoteFile"];
strImageName = uploadfile.FileName;




Besides the above feature, a lot of others are also provided by Dynamic Web TWAIN to help you process the documents.

Dynamic Web TWAIN Online Demo

If you’d like to try out Dynamic Web TWAIN by yourself, you can download the 30-day free trial below:

Dynamic Web TWAIN 30-day Free Trial

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.