Scan recognition control Dynamic Web TWAIN v16.2 is officially released, adding a new API

Dynamic Web TWAIN is a TWAIN scanning recognition control specially designed for Web applications. You only need to write a few lines of code in the TWAIN interface, and you can scan documents with a TWAIN-compatible scanner or get images from a digital camera/capture card. Then the user can edit the image and save the image in multiple formats, and the user can save the image to a remote database or SharePoint. The TWAIN control also supports uploading and processing local images.

This article brings together some common questions about Dynamic Web TWAIN programming, and answers to these questions. If you are interested, come and find out~

Download the official version of Dynamic Web TWAIN [Huidu.com]

Scan recognition control Dynamic Web TWAIN v16.2 is officially released, adding a new API

Emphasize

A new event, OnBufferChanged, has been added, which is triggered when the buffer changes.
dwtObject.RegisterEvent('OnBufferChanged',
function (bufferChangeInfo) {}
)
supports Shadow DOM. Dynamic Web TWAIN is now compatible with web frameworks implemented using Shadow DOM (for example, Polymer).
<div id='divShadow'></div>
<script>
var shadow = document.querySelector('#divShadow').attachShadow({mode:'open'});
shadow.innerHTML ='<div id="dwtcontrolContainer "></div>';

var DWObject;
(function(){
    Dynamsoft.WebTwainEnv.CreateDWTObjectEx({
        Container:shadow.querySelector('#dwtcontrolContainer'),
        WebTwainId:'abc'
    }, function (object) {
        DWObject = object;
        console.log(object);
    }, function (errorString) {
        console.log(errorString)
    });
})();

</script>
Added a configuration page to update the host or port of Dynamsoft service. By default, this page can be accessed through the URL http://127.0.0.1:18625/admin/ .

Scan recognition control Dynamic Web TWAIN v16.2 is officially released, adding a new API
Support Apple M1 Mac and 64-bit Raspberry Pi. Dynamsoft Service can now run on the ARM64 platform, which means that companies can choose a combination of scanners and embedded devices as a more economical document management solution.

Guess you like

Origin blog.51cto.com/15078157/2609052