Last Updated on 2020-07-30
Besides document scanning, editing and uploading, supporting all mainstream browsers is another nice feature of Dynamic Web TWAIN. In this article, I’ll share with you on how to solve the browser compatibility issue using the image scanning SDK.
Browser Market Share
It’s always a pain for web application developers to learn the browser usage of end users. Whenever creating a web application, developers need to consider the browser compatibilities, and consequently need to find out the browsers that are being used by their customers.
Complicated? It’s just complicated and time consuming to learn all these basic information from the customers. It would be ideal if there is a solution that lets us focus on the main functions regardless of the browser types.
Make your Web Scanning App Support Different Browsers
Dynamic Web TWAIN, a TWAIN scanning SDK, provides different editions to support different browsers and OSes.
Web TWAIN_Editions and Browser Support
Try it online
You can play with the online demo to get a rough idea of how it works. The demo supports images scanning from browsers including IE (both 32-bit & 64-bit), Firefox, Chrome, Safari and Opera.
You can customize the functions and the layout based on the online demo (or even developing from scratch) according to your needs.
Download Dynamic Web TWAIN 30-day Free Trial and Build Your Own Web Scanning App
How does it work with different OSes/browsers?
Code snippet: The sample code below shows you how to detect the browser being used and call the corresponding edition to implement the image acquisition.
Deployment
Assuming you are using the sample code provided in this article, you can copy the files under …\Dynamsoft\Dynamic Web TWAIN SDK 16.0\Resources to the DynamicWebTWAIN folder on your web server.
If you have any tips to share with us, please feel free to add your comments below.