Author Information
Glenn Farrier has 163 Published Articles

United States of America,
CA,
Indio,
51 Parkway Street,
Bassel Street



10 Rules for Evaluating Web TWAIN Components

Posted On : Aug-21-2012 | seen (1217) times | Article Word Count : 1246 |

TWAIN is a standardized software protocol that provides a universal standard that communicates between applications and image acquisition devices, like scanners and digital cameras.
TWAIN is a standardized software protocol that provides a universal standard that communicates between applications and image acquisition devices, like scanners and digital cameras. As web applications become increasingly popular, many TWAIN applications also need to work with web applications.

This white paper is for software developers building web applications that acquire images from TWAIN-compatible devices through web browsers. The paper offers some rules to live by when evaluating a TWAIN component. By following these rules you'll find a solution that will save you time and improve your productivity.

What to Look for when Evaluating Web Scanning Components

Easy to Develop

Rule #1: A web scanning component should make web development easier.

The TWAIN 2.1 specification is a pain-staking 664 pages long. It can take weeks just to read through the document let alone get a full understanding of the specification. Additionally, once you've grasped TWAIN, the amount of work to enable image compression codec, like TIFF, JPEG or PNG, and image upload/download features can be overwhelming. As such, developing a web scanning solution from the scratch is almost impossible.

Web Page Load Time

Rule #2: A web scanning component must be small for lightning-fast rendering.

When a user visits a web page with an ActiveX/Plug-in component for the first time, the control must be downloaded from the web server to the user's browser and then installed. The larger the control size, the longer it takes to download. Users' patience for slow downloads is thin, so every second counts.

Image Upload Time

Rule #3: A web scanning component must support multiple compression formats.

Different compression methods have distinct features. For example, JPEG has a high compression rate but is lossy, which makes JPEG format unsuitable for document images that require high precision. On the other hand, PNG format is lossless, which means it retains all the information during the compression process.

User Interaction

Rule #4: A web scanning component must allow you to build rich user interface applications.

User interaction--or user interface (UI)--is an important part of every application. Additionally, users may need to preview scanned images or edit them before uploading them to a web server. A scanning control that allows a rich user experience can differentiate your applications from competitors' products.

Multi-page Document Support

Rule #5: A TWAIN component must support multi-page format, such as TIFF and PDF.

Many documents have multiple pages. If each page is stored as a separate scanned image, retrieving and viewing the document involves handling multiple images. Being able to store all pages of a document in a single file makes it much easier to manage multiple-page documents.

Security

Rule #6: The TWAIN component must be marked as "safe for scripting" and should be digitally signed.

When a publisher marks a control as 'safe for scripting', the publisher promises that the control will not intentionally harm the end users’ computer system. If the control intentionally damages the system, the publisher assumes legal responsibility.

If the component is digitally signed, a dialog box with the publisher's legal name will appear when a customer uses the scanning component for the first time. The user can choose whether they want to install the component during the download and install process. If the control is altered after the publisher has signed it, the digital signature will be broken and the user will be informed.

At the same time, if a control is not marked as safe for scripting or is not digitally signed, the default setting of popular browsers--like Internet Explorer and Firefox—will simply prevent the control from downloading or initializing.

Web Browser and Operating System Compatibility

Rule #7: The scanning control must support all major web browsers.

In many cases, you won't know which browser and operating system your end users will use—Microsoft Internet Explorer 32-bit/64-bit, Firefox, Chrome or others on Windows/Mac. If you only support one or two browsers, you significantly limit your ability to reach a broad range of customers. Even if you know which web browser your customers are using now, it's highly likely you will need to expand your web scanning application to other browsers/operating systems in the future.

Web Server and Industry Standard Support

Rule #8: The scanning control must use standard technology protocols and support all major web servers.

HTTP and FTP are standard Internet protocols. A component that uses any nonstandard protocol seriously increases deployment costs for your web application. It's possible your existing infrastructure or team expertise may require you to use a specific web server. A component that uses an upload and download protocol that's not compatible with your chosen web server can cause serious headaches for your team.

Rule #9: It helps if the component vendor is a contributor to the TWAIN specification.

Being an associate member of the TWAIN Working Group, the vendor has closer relationship with the TWAIN protocol maintainers and easier access to the latest trend and development. And, the vendor can make contributions to the TWAIN specification by proposing and vote for changes.

Our Solution – Dynamic Web TWAIN

Dynamic Web TWAIN is a TWAIN control that enables you to acquire images from any TWAIN-compatible device. It includes a variety of features specifically designed for the web environment.

User Experience – Powerful Interaction for Users

• Reduced web page load time

The Dynamic Web TWAIN distribution file is only 213 KB for 32-bit IEand 301 KB for 64 bit IE, while the XPI file for Firefox, Chrome and other browsers is 201 KB. The .pkg file for Mac users is 416 KB. It takes seconds to download and install to the users' web browser.

• Reduced image upload time

Dynamic Web TWAIN supports major compression methods, including JPEG, TIFF and PNG. It also supports multi-page TIFF and PDF formats.

• User interaction

Dynamic Web TWAIN lets you use a scanner's built-in user interface or build your own UI to control the scanner. Additionally, Dynamic Web TWAIN includes a built-in image editor to enable your end users to edit the image in their browser.

Security – Safe Component over the Web

• Marked as safe for scripting

Dynamic Web TWAIN is marked as 'safe for scripting'. Dynamsoft assumes the legal responsibilities if Dynamic Web TWAIN does any intentional damage to your users' computer.

• Digitally Signed

Dynamic Web TWAIN is signed by VeriSign.

Compatibility – Support Different Browsers, Operating Systems, Servers and Protocols

• Browsers and Operating Systems

Dynamic Web TWAIN supports Microsoft Internet Explorer 32 bit and 64 bit, Firefox, Chrome, Opera, and Safari on Windows/Mac platform.

• Servers

Dynamic Web TWAIN is compatible with all major web servers, including Microsoft IIS (Internet information server), IBM Notes, Websphere, Apache, Tomcat on Windows, Linux and other platforms.

• Protocols

Dynamic Web TWAIN is compatible with File Transfer Protocol (FTP) and Hyper Text Transfer Protocol (HTTP). It also supports Secure Sockets Layer (SSL) encryption.

Development – Give Your Team a Competitive Advantage

• Reduced development time

Dynamic Web TWAIN is compatible with TWAIN specification V2.1 and with built-in TIFF, JPEG and PNG encoder and decoder, Upload/download and ActiveX/Plug-in technology. Your team can forget about the scanning component and only needs to focus on business requirement.

Article Source : http://www.articleseen.com/Article_10 Rules for Evaluating Web TWAIN Components_221132.aspx

Author Resource :
The author has an immense knowledge on Web TWAIN Components. Know more about Dynamic .NET TWAIN scanner library and Dynamic Webcam related info in his website http://www.dynamsoft.com

Keywords : Dynamic .NET TWAIN scanner library and Dynamic Webcam,

Category : Computers : Software

Bookmark and Share Print this Article Send to Friend