How to Scan Documents from Chrome, Firefox, Safari & other Browsers

Scan documents from chrome, firefox, safari, linux, and others

Last Updated on 2019-09-10

We receive a lot of requests from customers stating they are developing a web-based system that will use JavaScript/JQuery for the client-side and PHP for the server side. Their system enables users to scan documents from a browser using the client side scanner, edit, and then upload images to a database on the server.

However, their users might use:

  • Chrome
  • Firefox
  • Safari
  • IE

They are not sure where to start. If this sounds like your scenario, you’ve come to the right place. In this post, we discuss how to scan socuments from Chrome, Firefox, Safari & other browsers

Cross-browser Scanner SDK

First things first. To interact with scanners in a browser, you will need an ActiveX control (for IE), browser extension/plugin or HTML5 SDK (for  browsers like Firefox, Chrome, and Safari etc.).

When choosing the scanner SDK, you will also need to decide the protocol for communicating with scanners. TWAIN is recommended when programming with scanners.

Dynamic Web TWAIN is a browser-based TWAIN scanning SDK which works with IE x86/x64, Chrome, Firefox, Safari on Windows, macOS, and Linux.

Dynamic Web TWAIN enables you to capture images from a scanner or load files from local or server disk. For the images in the TWAIN control, users can perform editing, such as rotation, cropping, etc., and finally upload to a remote database or save to local. Below is a simple illustration:


Dynamic Web TWAIN provides ActiveX control, plugin as well as an HTML5/JavaScript scan library to support scanner communication via all the mainstream browsers on Windows, macOS, and Linux. Dynamic Web TWAIN is:

  • Small: no C/C++ runtime library is used. Even with built-in JPEG, PNG, PDF, TIFF codec, the size of the CAB file is very small;
  • Fast: the core engine of the image processing part of Dynamic Web TWAIN is optimized with assembly language;
  • Easy to deploy: just copy the related resource files to your desired web server (IIS, IBM Notes, Websphere, Apache, and Tomcat on Windows, Linux or other platforms).

Related Imaging Add-ons:

Besides online document capture and upload, Dynamic Web TWAIN also provides multiple imaging add-ons to help you create a document management system.

  • webcam capture add-on for capturing images from UVC compatible webcams.
  • barcode reader add-on for barcode detection in web applications. With the barcode library, you can easily get 1D and 2D barcode info from scanned documents, IDs, or invoices.
  • PDF rasterizer for loading and viewing PDF documents.

Try Dynamic Web TWAIN Online Demo

Start your Free 30-Day Trial

Need a Scanning SDK for .NET Desktop Application?

If you want to embed image capture, processing and upload features into your WinForms or WPF applications, Dynamic .NET TWAIN scanning component can satisfy your needs.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.