Dynamic Web TWAIN Changelog

What's new in Dynamic Web TWAIN 18.4.2

Dec 5, 2023
  • Security update for Dynamsoft Service.

New in Dynamic Web TWAIN 18.4.1 (Oct 24, 2023)

  • DWObject process optimization:
  • Fixed an issue where if the Web TWAIN object was deleted from context mid scan, the scanning queue would not terminate, leaving any future requests being left pending in queue.

New in Dynamic Web TWAIN 18.3 (Sep 14, 2023)

  • New Features:
  • Image Viewer:
  • Add a new property zoomOrigin to determine the zoom origin as well as adding to ImageEditor and EditorSettings.
  • Preview Feature:
  • PDF Compressor (Beta):
  • PDF Compressor is a compression technology based on color clustering which can help to reduce the file size when saving images as a PDF file. To preview this feature, please see this demo. Please contact us if you have any feedback or suggestions.
  • Improvements:
  • Image Viewer:
  • Optimize display speed of images in viewer in n*n ViewMode.
  • Android Service:
  • When the remaining valid date of the local.dynamsoft.com certificate is less than or equal to 21 days, the certificate will be automatically renewed in the network environment.
  • Remote Scan:
  • Optimize the configuration pages of Bonjour Service and Proxy Service to make the process clearer and easier to proceed.
  • General Improvements:
  • Update third-party libraries to the latest version.
  • Remove redundant 32-bit dlls from Dynamsoft Service 64-bit installation directory

New in Dynamic Web TWAIN 18.1 (Jan 12, 2023)

  • Dynamic Web TWAIN v18.1 is restructured into two editions. While the standard Service Edition focuses on interactions with scanners, the Plus Edition offers support for mobile cameras as well. The goal is to make sure the Service Edition is small-sized, easy-to-use, and stable. The Plus Edition, on the other hand, is more comprehensive and offers flexibility in platforms and devices.

New in Dynamic Web TWAIN 18.0 (Dec 22, 2022)

  • Localhost Scan:
  • New Features:
  • Service Edition for Android:
  • Enable document scanning from eSCL-compatible scanners or Wi-Fi Direct scanners directly to your Android mobile device. Please refer to this blog for more details.
  • Scanner:
  • Added new method GetDevicesAsync.
  • Added new method SelectDeviceAsync.
  • Added new method AcquireImageAsync.
  • Added new optional parameter deviceType to the method SelectSourceAsync.
  • Mobile Web Capture:
  • Support turning on/off torch:
  • Added new method turnOnTorch and turnOffTorch.
  • Added new method getCapabilities.
  • Added new property torch to ScannerViewer. Refer to scanDocument.
  • Improved Features:
  • All license key types can now be specified with the API Dynamsoft.DWT.ProductKey.
  • Added new property Dynamsoft.DWT.DeviceFriendlyName which defines the specific device that consumes the license quota
  • Added new enumeration Dynamsoft.DWT.EnumDWT_ExtImageInfo
  • Updated Barcode Reader add-on library to version 9.4. Check out the release notes for Barcode Reader JavaScript SDK - 9.x
  • Bug Fixes:
  • Base64 string returning null on load
  • Scanner source name not showing on source list
  • OnPreExecute not removing loading bar
  • ConvertToBase64 not working in v17.3
  • Remote Scan:
  • Remote Document Scanning enables document scanning from all available Dynamsoft Services and eSCL scanners on the intranet through one proxy service, via any supported devices and browsers, without any software installation.

New in Dynamic Web TWAIN 17.3 (Jun 30, 2022)

  • New and Improved Features:
  • Mobile Web Capture:
  • Improved performance and user experience with re-designed mobile document capture workflow. Some highlights:
  • The original copy of an image is kept in the new document editor object so you can always go back to the original image to make any edit.
  • Building your custom workflow to trigger actions in your desired sequence is made easy.
  • Interface elements in the viewer/editor are now customizable. You can easily add/remove icons or change their style.
  • Buffer:
  • Added new method RenameDocument.
  • Renamed methods
  • CreateFile -> CreateDocument
  • OpenFile -> OpenDocument
  • GetCurrentFileName -> GetCurrentDocumentName
  • RemoveFile -> RemoveDocument
  • GetFileInfoList -> GetDocumentInfoList
  • Added new method GetRawDataAsync.
  • Viewer:
  • Added new method updateCheckboxStyle to customize checkboxes. This method is also added to ThumbnailViewer. Refer to createThumbnailViewer.
  • Added new method updatePageNumberStyle to customize page numbers. This method is also added to ThumbnailViewer. Refer to createThumbnailViewer.
  • Added new properties checkbox and pageNumber to ThumbnailViewerSettings. Refer to createThumbnailViewer.
  • Added a new parameter documentConfiguration to the method createTemplate.
  • Added new method createDocumentEditor.
  • Added new property selectionMode.
  • Added new property allowPageDragging.
  • Minor Improvements:
  • Modified Dynamsoft.DWT.EnumDWT_PDFCompressionType from PDF_JBig2 to PDF_JBIG2.
  • Made changes to support organizationID value for Dynamsoft.DWT.ProductKey.
  • Enabled license key validation for the correct version during initialization.
  • Bug Fixes:
  • On MacOS, images in the viewer were sometimes lost when waking up from sleep mode.
  • Incorrect error message displayed when using camera function with UseLocalService set to true.
  • Unchecking checkboxes did not trigger the OnBufferChanged event.
  • Failed to load dll for PDF decoding or encoding when using v17.x SDK with an older version image dll file.
  • Images failed to display in print window.
  • Edited images not showing correctly in Image Editor.
  • Images not displaying correctly in landscape mode when printing from Image Editor.
  • Iframe not working in Edge due to Content Security Policy.

New in Dynamic Web TWAIN 17.2.5 (Mar 29, 2022)

  • Improved Features:
  • Updated the files dynamsoft.webtwain.initiate.js and dynamsoft.webtwain.addon.camera.js for better performance of mobile document capturing when using Safari on iOS/iPadOS 13+
  • Bug Fixed:
  • Updated the file dynamsoft.webtwain.initiate.js to resolve a memory leak issue in v17.2.1 on Chrome 98+ when the view mode is set to (-1, -1) or if a thumbnail viewer is used.

New in Dynamic Web TWAIN 17.2.1 (Feb 24, 2022)

  • Improved Features:
  • Made changes to handle CORS preflight requests sent by Chrome from V98. Learn more here.
  • For Chromium V84+, use userAgentData instead of userAgent in response to UserAgent String phasing out issue.
  • Bug Fixed:
  • Fixed a bug where Dynamsoft Service installation/uninstallation failed due to the current user account does not match the user account under C:Users{account}. Learn more here.
  • Fixed a bug where the short key (set by organizationID) did not work on macOS 12+.
  • Fixed a bug where the mouse wheel did not work when the mouse was over the viewer.

New in Dynamic Web TWAIN 17.1.1 (Aug 18, 2021)

  • Improved Features:
  • Updated DSSCN2.exe and DSSCN2x64.exe to optimize scanner compatibility.
  • Improved the Dynamsoft Service connection performance.
  • Improved LoadDibFromClipboard to make it more stable.
  • Bug Fixes:
  • Fixed a bug where operating system judged incorrectly when using Dynamic Web TWAIN with Electron.
  • Fixed a bug that drag and drop does not work when loading multiple files.

New in Dynamic Web TWAIN 17.1 (Jun 11, 2021)

  • New Features:
  • Added property organizationID which can be used to fetch license(s) belonging to the specified organization from the License Tracking Server. With this property, the licensing of the library is smoother from trial to full and it is much easier to manage a license change without code updates.
  • Improved Features:
  • The built-in viewer can now display thumbnails faster.
  • Installers for ARM x64 and MIPS x64 are now included in the package by default.
  • Separated the library into two distinctive modes: Desktop Service and WebAssembly for easier understanding and usage.
  • Major Bug Fixes:
  • Fixed a bug where the image fails to be displayed after it gets cropped and saved in the built-in ImageEditor.
  • Fixed a bug where images meant to be saved on the hard disk end up in the image buffer on macOS.
  • Fixed a bug where erasing part of an image will change its original display mode to be ‘centered’.
  • Changes to the ActiveX Edition:
  • Fixed a bug where the barcode reader addon fails to initiate on IE 10.

New in Dynamic Web TWAIN 17.0 (Apr 20, 2021)

  • NEW FEATURES:
  • Added support for 64-bit ARM based computers. Video
  • Added support for 64-bit MIPS based computers.
  • Added support for trackable license types such as “Per Browser Client”. This new license mechanism is incompatible with the traditional product key. The related APIs are licenseServer, handshakeCode, sessionPassword, licenseException.
  • Added method RemoveTag() to remove a specified tag from one or multiple images.
  • Added method GetTagList() to return the status of all current tags.
  • Added method PrintEx() to support selective printing.
  • Added property autoChangeIndex which, when set to true, will make sure the first image in the viewer is always selected when scrolling through multiple images.
  • IMPROVED FEATURES:
  • The built-in viewer now consumes less memory than before.
  • Scanning via ICA now supports the transfer modes File and Memory.
  • Upgraded the encryption algorithm for locally cached images from 64-bit Blowfish to AES-256-GCM encryption.
  • DefaultSourceName now refers to the last used source.
  • Updated Barcode Reader library to version 8.2.1. Check out release notes for Barcode Reader JavaScript SDK - 8.2.1.
  • CHANGED BEHAVIORS:
  • The property Viewer.selectedAreaBorderColor now also applies to the selection box on the video opened by the method showVideo.
  • BREAKING CHANGES:
  • Moved:
  • The original namespace Dynamsoft.WebTwainEnv is renamed to Dynamsoft.DWT.
  • All enumerations are moved under Dynamsoft.DWT. For example, Dynamsoft.EnumDWT_PixelType and EnumDWT_PixelType works in version 16.2 and lower but now it must be written as Dynamsoft.DWT.EnumDWT_PixelType.
  • Others:
  • Server-side OCR pro is no longer supported in this version.
  • When OCR Pro is used on the client side, it requires a trackable license. The traditional product key no longer works.
  • BUG FIXES:
  • Fixed a bug where the method CloseSourceManager() gets called too many times and slows down scanning when you use SelectSourceByIndex() for source selection.
  • Fixed a bug where you get an incorrect name with the API CurrentSourceName or DefaultSourceName .
  • NOTICE:
  • The package @types/dwt is no longer maintained, the type definitions are included by default in the dwt package since version 16.2.
  • NPM related:
  • Add changes to Types
  • Added definition for UseLocalService, RemoveTag()and GetTagList().
  • Removed old definitions based on version 12, 13 and 14.
  • Renamed namespace WebTwainEnv to DWT.
  • Moved enumerations under Dynamsoft.WebTwainEnv

New in Dynamic Web TWAIN 16.2 (Jan 18, 2021)

  • New Features:
  • Connection with the Dynamsoft Service is now maintained after the computer awake from sleep or hibernation.
  • Only on Windows or macOS.
  • Added a new event OnBufferChanged which is triggered when the buffer changes like
  • New pages enter the buffer.
  • Existing pages are removed.
  • Existing pages are modified.
  • Existing pages are shifted.
  • Existing pages are filtered by a specified tag.
  • Page selection changes.
  • Added a configuration page to update the host or ports of the Dynamsoft Service. By default, this page can be accessed by the URL http://127.0.0.1:18625/admin/.
  • The default loader bar can now be customized with the API Dynamsoft.WebTwainEnv.CustomizableDisplayInfo.loaderBarSource.
  • Only effective when set before the page finishes loading (i.e. before DOMContentLoaded).
  • Added a new global property Dynamsoft.WebTwainEnv.IfAlwaysFocusOnPopupWindow to control whether to set focus on scanner-related windows opened by the Dynamsoft Service when the browser tab on which the SDK is running is active. In the past, these windows will be on top no matter which browser tab is active.
  • Shadow DOM is officially supported.
  • Added support for ARM-based macOS.
  • Added support for 64-bit Raspberry Pi.
  • Improved Features:
  • Made the viewer more independent and robust. Related APIs are redesigned.
  • Added a new global property Dynamsoft.WebTwainEnv.UseDefaultViewer to control whether the built-in viewer is used.
  • Check out the Viewer related API changes in version 16.2.
  • Scanning remotely now supports showing the Manufacturer’s User Interface.
  • Only when the remote machine is Windows.
  • To show the UI, use AcquireImage() with the parameter deviceConfiguration instead of the API IfShowUI.
  • Check out how to enable remote scan.
  • Improved the tagging mechanism
  • Added a new method RenameTag() to rename an existing tag.
  • Added a new method ClearFilter() to stop filtering images by tag.
  • The method FilterImagesByTag() shows all images if no parameter is passed or shows no image at all if the tag value passed doesn’t exist or there is no images under that tag.
  • Updated the signatures for the files on macOS so that TWAIN drivers can be populated correctly.
  • Added global configuration options for the WASM-mode which includes maxHeapSize and fetchOptions.
  • Improved the methods getCapabilities and setCapabilities so that they work for ICA drivers on macOS too.
  • The Barcode Reader add-on is upgraded from 7.4.0.0428 to 7.6.0.0112.
  • Improved the display quality of the viewer in single-image mode (-1 * -1).
  • Changed Behaviours:
  • When the view changes from single-image mode to multi-image mode, the cursor used to be changed to “hand” which means you can drag and drop images, in v16.2, the cursor will stay unchanged. In other words, if the cursor was “crosshair” in single-image mode, it’ll continue to be “crosshair” in multi-image mode which means you can continue to draw rectangles on these images (NOTE that you can only draw on the current image). You can use the property Viewer.cursor to change the cursor in this case.
  • The properties Width and Height will always return the actual number of pixels even if you set them with a percentage like “50%”.
  • The properties BackgroundColor and SelectionImageBorderColor will always return a string that represents the style (colour, border, etc.) even if you set them with numbers. For example, BackgroundColor returns “#000032” if you set it to “50” and SelectionImageBorderColor returns “1px solid #000032” when you set it to “50”. Also, these two properties are deprecated and should be replaced by Viewer.background and Viewer.selectedPageBorder.
  • The properties IfFitWindow and FitWindowType are now write-only as their actual values may not be correct when you read them. As these properties are deprecated, use fitWindow() instead.
  • Added a 3rd parameter fill to the method play() which determines whether the video should fill the whole viewer and have a part of the video hidden. In v16.1.1-, the default behavior is to fill the whole viewer and in v16.2, it’ll put the video within the viewer and possibly leave some margin.
  • On macOS, the default transfer mode for TWAIN drivers is changed from “native” to “memory”.
  • The “Cut” (“Erase”) button in the image editor now cuts the selected area to the clipboard instead of just erasing the area.
  • The “Stretch” button is deleted from the image editor.
  • Breaking changes:
  • Moved:
  • The methods showVideo() and closeVideo() are moved from the interface Viewer to Addon.Camera.
  • The method showVideo() has added two more parameters mode and fill and the video starts in the new default picture mode. To get the old behavior, use the document mode.
  • Deleted:
  • The property SelectedImagesCount and the method GetSelectedImageIndex() are deleted. Use SelectedImagesIndices instead.
  • The method SetSelectedImageIndex() is deleted. Use SelectImages() instead.
  • The method UpdateViewer() is deleted. There is no alternative method.
  • The second parameter for the method BindViewer() is deleted and it has only one parameter to specify the HTML element now. Therefore, you cannot use this method to create a thumbnail viewer anymore. Use the new method createThumbnailViewer() instead.
  • Others:
  • Check out Viewer related API changes in version 16.2.
  • Bug Fixes:
  • Fixed a bug where if you create a WebTwain instance under WASM-mode and then destroy it and create another WebTwain instance under Service-mode, you will be prompted to install the Dynamsoft Service even if it is already installed.
  • Fixed a bug with the scanner model “Canon DR-M260” (200 series) where the manufacturer’s UI hangs or disappears once it is shown.
  • Fixed a bug on macOS where 1-bit TIFF files become inverted once they are transferred via the system clipboard.
  • Fixed a bug where changing the UI of the image editor will affect the main viewer.
  • Fixed a bug where the method updateRuntimeSettings will overwrite all settings you set with the method initRuntimeSettingsWithString.
  • Fixed a bug where the wrong PDF library is referenced when the SDK switches to the Service-mode from WASM-mode.
  • Fixed a bug on mobile devices where once an image is cut, its metadata is lost and can no longer be printed (it appears blank when being printed).
  • Fixed a bug where if the Dynamsoft Service is not installed and a WebTwain instance is created using the method CreateDWTObject() or CreateDWTObjectEx(), the connection to the service is not attempted automatically as expected (a page refreshing is required).
  • Fixed a bug with the API Dynamsoft.WebTwainEnv.CustomizableDisplayInfo so that it now works again.
  • Fixed a bug where removed images remain in the viewer.
  • Fixed a bug where if you set the display attribute of the viewer to none, it becomes black.
  • Deprecations:
  • Check out Viewer related API changes in version 16.2.
  • Changes to the ActiveX Edition:
  • Internet Explorer 8 is no longer supported.
  • Fixed a bug where when saving an image as TIFF, the same image gets duplicated in the buffer

New in Dynamic Web TWAIN 16.1.1 (Aug 13, 2020)

  • Whether to load the WASM for the Camera module is now optional (used to be mandatory in 16.1) and is disabled by default.
  • The webcam/camera license is now considered a core license and can be used without a scan license.

New in Dynamic Web TWAIN 16.1 (Aug 3, 2020)

  • NEW FEATURES:
  • Added method SetProductKeyAsync() which sets the product key asynchronously. Previously, the property ProductKey was used for both setting and reading the key. The same behavior is kept in 16.1 but the recommendation now is to use the method SetProductKeyAsync() to set it and use the property ProductKey to read it.
  • Added methods GetSourceNamesAsync(), SelectSourceAsync(), SelectSourceByIndexAsync(), OpenSourceAsync(), CloseSourceAsync(), OpenSourceManagerAsync(), CloseSourceManagerAsync(),as asynchronous complements to their existing synchronous methods.
  • support showing both 64-bit TWAIN drivers and 32-bit TWAIN drivers at the same time.
  • NOTE: This driver type does not work if we call SelectSource() synchronously (without callbacks).
  • Added APIs under Addon.Camera as a complement to the existing APIs under Addon.Webcam. These APIs include getSourceList(), selectSource(), getCurrentSource(), closeSource(), getResolution(), setResolution(), getCurrentResolution(), play(), pause(), resume(), stop(), getStatus() and capture(). Unlike the old APIs under Addon.Webcam which are good only on Windows, the new APIs are good on Windows, macOS, Linux as well as iOS & Android.
  • Added built-in video processing feature which enables video streaming, edge detection, perspective adjustment, capturing, etc. Related APIs include showVideo(), closeVideo() and two callbacks video-closed and video-error.
  • NOTE: on desktop, this feature requires a webcam/camera addon license.
  • EXTRA FEATURES:
  • Added a feature to run Dynamsoft Service with the account "Local Service". By default, it is still "Local System". Contact Dynamsoft to learn more.
  • BETA FEATURES:
  • .1 now supports acquiring images from a remote scanner which is connected to a machine which is connected via HTTP. This feature is designed to enable document scanning on mobile devices.
  • BETTER PERFORMANCE:
  • Improved the speed to initialize the library under WASM mode by splitting one WebAssembly file into multiple files and loading them in the background.
  • Improved memory usage by sharing the same heap among multiple WebAssembly workers.
  • Improved image decoding by removing unnecessary image processing operations as well as lowering the memory usage.
  • Improved data transferring efficiency by using pointers instead of strings.
  • Improved performance by saving compiled WebAssembly code into the working process for later use.
  • Changed behaviors:
  • This version is backward compatible with version 16.0. This means once you have installed the Dynamsoft Service for version 16.1, an application running version 16.0 also works without the need to install the Service for version 16.0.
  • The method LoadImageEx() now supports mobile platforms as well.
  • Dynamsoft Service directory is now named with its version in it. For example, /DynamsoftServicex64/ is now /DynamsoftServicex64_16/. Also ActiveX related files are put into a different directory called /WebTWAINActiveX/.
  • BUG FIXES:
  • Fixed a bug where images fail to show in the viewer in IE 10.
  • Fixed a bug in Chrome where the print UI invoked by the API Print() disappears immediately after showing up.
  • Fixed a bug with the API Dynamsoft.WebTwainEnv.Host which is now effective.
  • Fixed a bug with consecutive cropping operations with the API Crop().
  • Fixed a bug with WebTwain instances created by the API Dynamsoft.WebTwainEnv.CreateDWTObjectEx() so that their UI binding works correctly.
  • Deprecations:
  • No deprecation in version 16.1.
  • Changes about the ActiveX edition:
  • No changes in version 16.1.

New in Dynamic Web TWAIN 16.0 (Jun 17, 2020)

  • Features to the Core module:
  • Added a new mobile edition that enables document capturing via mobile cameras and other document manipulation functionalities. Most of the existing methods and properties are made compliant with this new edition.
  • Added WASM based document manipulation functionalities which enable the use of all features of Dynamic Web TWAIN except for document scanning without installing the Dynamsoft Service.
  • Added setting Dynamsoft.WebTwainEnv.UseLocalService to switch the working mode of the library between Local-Service mode and WASM mode. Only valid on desktop operating systems.
  • Replaced the built-in image viewer including the built-in image editor with the Dynamsoft Viewer.
  • The creation of a WebTwain instance is now independent from the UI. In version 16.0, you can create a WebTwain instance in 4 ways
  • Specify a Container that has a ContainerId and assign it to Dynamsoft.WebTwainEnv.Containers. A ContainerId is essentially the id of an HTMLDivElement element which is required for generating a built-in Dynamsoft Viewer. Then call the method Dynamsoft.WebTwainEnv.GetWebTwain with ContainerId as the argument to get the instance.
  • Call the method Dynamsoft.WebTwainEnv.CreateDWTObject to create an instance with built-in Dynamsoft Viewer.
  • Specify a Container that has a WebTwainId but no ContainerId and assign it to Dynamsoft.WebTwainEnv.Containers. A WebTwainId is just a string to uniquely specify the instance. Then call the new method Dynamsoft.WebTwainEnv.GetWebTwainEx with WebTwainId as the argument to get the instance.
  • Call the method Dynamsoft.WebTwainEnv.CreateDWTObjectEx to create an instance without a built-in Dynamsoft Viewer.
  • Note:
  • If a WebTwain instance is created without a built-in Dynamsoft Viewer, you can create a Viewer later and bind it to the existing WebTwain instance using the new method BindViewer(). The Viewer can also be updated or unbound with the new methods UpdateViewer() and UnbindViewer().
  • Added method LoadImageFromBinary() to enable importing data from binary (an object of the type Blob or ArrayBuffer).
  • Added methods getCapabilities() and setCapabilities() which enables fast capability negotiation.
  • Added method EnableSourceUI() to enable TWAIN configuration without scanning.
  • Added method SelectImages() to select one or multiple images programmatically. This method replaces the old APIs SetSelectedImageIndex() and SelectedImagesCount.
  • Added property SelectedImagesIndices to return the indices of selected images. This property replaces the old API GetSelectedImageIndex().
  • Added Viewer-specific APIs: setViewMode(), updateUISettings(), setButtonClass(), setSelectedImageArea(), zoomIn(), zoomOut(), bindCustomElement(), showCustomElement(), hideCustomElement(), toggleCustomElement(). These methods should be called like this: DWObject.Viewer.zoomIn().
  • Updated Add-on Features:
  • Added PDF Rasterizer mobile edition.
  • Extended the PDF Rasterizer on desktop to the WASM mode.
  • Replaced the old barcode reader add-on with a new add-on which now supports both Local-Service mode and WASM mode of the desktop editions as well as the mobile edition.
  • Better performance:
  • In favor of the WASM mode, image transferring now uses JPEG more often than PNG. Previously, there was only the Local-Service mode and only PNG was used.
  • The following methods are made asynchronous (while still synchronous-compliant):
  • ChangeImageSize(), ConvertToBW(), ConvertToGrayScale(), Crop(), Erase(), FilterImageByTag(), Flip(), GetSelectedImageSize(), GetSkewAngle(), Invert(), Mirror(), Rotate(), RotateEx(), RotateLeft(), RotateRight(), SetDPI(), SetImageWidth()
  • NOTE: These APIs must be called asynchronously in the WASM mode.
  • Changed behaviors:
  • The methods HTTPDownload() and HTTPDownloadEx() no longer has the "Content-Type" header in their HTTP Get requests.
  • The method GetSourceNames(true) now returns more information which includes "DriverType" and "DeviceInfo".
  • Deprecations:
  • Deprecated SetSelectedImageIndex(), GetSelectedImageIndex() and SelectedImagesCount in favor of the new method SelectImages().
  • Deprecated IfOpenImageWithGDIPlus in favor of the built-in imaging decoder.
  • Deprecated the following APIs in favor of the new methods getCapabilities() and setCapabilities()
  • CapGet(), CapGetHelp(), CapGetCurrent(), CapGetDefault(), CapGetFrameBottom(), CapGetFrameLeft(), CapGetFrameRight()CapGetFrameTop(),CapGetLabel(), CapGetLabels(), CapSet(), CapReset(), CapSetFrame(), CapIfSupported(), GetCapItems(), GetCapItemsString(), SetCapItems(), SetCapItemsString(), Capability, CapNumItems, CapMaxValue, CapMinValue, CapCurrentValue, CapCurrentIndex, CapDefaultValue, CapDefaultIndex, CapType, CapValueType, CapDescription, CapStepSize, CapValue, CapValueString
  • Changes about the ActiveX edition:
  • Added method SelectImages().
  • Added property SelectedImagesIndices.

New in Dynamic Web TWAIN 15.3.1 (Mar 5, 2020)

  • IMPROVED:
  • [HTML5] When reinstalling the Dynamsoft service, the service configuration file DSConfiguration.ini will now be replaced directly.
  • FIXED:
  • [HTML5] Fixed a bug where the scanner stops responding when you cancel the scan multiple times.
  • [HTML5] Fixed a bug where the scanner stops responding when the library tries to retrieve extended information that contains magnetic data.
  • [HTML5] Fixed a bug where images can‘t be selected in batches (CTRL/SHIFT + Click) after swapping the current tag.

New in Dynamic Web TWAIN 15.3 (Jan 7, 2020)

  • New:
  • [HTML5] Added a new configuration extendedImageInfoQueryLevel for the method AcquireImage that allows setting up how the library queries extended image info items. In version 15.2, the default level would result in scanning failure or serious performance issues with some scanners.
  • [HTML5] Added a new method GetSourceNames(bool bIncludeDetails) that returns the list of available data sources as a string array. On Windows, when bIncludeDetails is set to true, this method returns more details about the sources including its protocol versions, manufacturer and whether it's the default/current source, etc.
  • [HTML5] Added a new method SelectAllImages() that can select all images in buffer or all images that have been filtered by tags.
  • [HTML5] Added a new method ConvertToBW(number imageIndex) that converts a specific image to Black & White.
  • [HTML5] Added a new method Invert(number imageIndex) that inverts a specific image.
  • IMPROVED:
  • [HTML5] Further improved security by deleting the methods FTPUploadDirectly(), FTPDownloadDirectly(), FileExist() and changing the methods HTTPUploadThroughPostDirectly(), HTTPDownloadDirectly() to only work on whitelisted images/files (check NOTE below).
  • [HTML5] Changing the default SSL certificates is now officially supported.
  • [HTML5] Changed the property LogLevel so that when it's set to 1, it's equivalent to setting LogLevel to 141 in the file C:WindowsSysWOW64DynamsoftDynamsoftServicex64DSConfiguration.ini
  • [HTML5] Local caching is made smoother by introducing a new process to do the caching when the threshold is reached. As a result, it is significantly faster when loading a great many files.
  • [HTML5 | macOS] When using ICA(Image Capture Architecture) sources, info that was written to system log is now written to wtss.log.
  • [Upload Module] Now the module can only upload files/images that are whitelisted (check NOTE below)
  • Note: How whitelisting is done
  • Dynamsoft Service keeps a whitelist of all images in buffer as well as images saved by the Service. The whitelist lives on until the current service process is destroyed.
  • Each Dynamic Web TWAIN object keeps a whitelist of file paths that are retrieved in the callback function OnGetFilePath for the method ShowFileDialog().
  • FIXED:
  • [HTML5] Fixed a bug where Dynamsoft Service gets stuck when you try to perform concurrent operations on the same image(s) like uploading and converting them at the same time.
  • [HTML5] Fixed a bug where Dynamsoft Service crashes when the callback OnBitmapChanged is called recursively.

New in Dynamic Web TWAIN 15.2 (Sep 19, 2019)

  • New:
  • [HTML5] Added the capability to add tags to images. The tags can then be used to filter the images. The new APIs are TagImages, ClearImageTags, SetDefaultTag and FilterImagesByTag.
  • IMPROVED:
  • [HTML5] Tidied up the Dynamsoft Service installer by removing redundant files.
  • [HTML5] Unified image decoding capabilities for JPEG and PNG on Windows, macOS and Linux.
  • [HTML5] Improved the speed of PDF decoding by loading the file as a whole instead of per page.
  • [HTML5 | Win] Improved Windows buffer management so that its capacity is only limited by the size of disk space on the machine.
  • [HTML5 | macOS] Improved macOS installers for better user experience.
  • [ActiveX | Win] Aligned PDF rasterizer in ActiveX so that it shares the same feature set with the HTML5 edition.
  • FIXED:
  • [HTML5] Fixed a bug with the API CreateTextFont where the text takes up extra space when it is rotated by 90 degrees.
  • [HTML5] Fixed a bug where printing results in unnecessary extra blank pages in Firefox or IE11.
  • [HTML5] Fixed a bug where a missing filename parameter results in upload failure.
  • [HTML5 | Win] Fixed a bug where the library attempts to download an incorrect installer when the Barcode Reader add-on is used.
  • [HTML5 | Win] Fixed a bug with the API GenerateURLForUploadData so that it returns an URL that shows the correct SDK version.
  • [All] Fixed a bug where 8-bit image data can't be compressed as a JPEG-TIFF.
  • [All]Fixed a bug with the event OnTopImageInTheViewChanged where it doesn't get triggered if images are acquired into an empty buffer.

New in Dynamic Web TWAIN 15.1 (Aug 13, 2019)

  • IMPROVED:
  • [Improved the methods ConvertToBlob, ConvertToBase64 and image loading methods so that they can handle much bigger files.
  • FIXED:
  • Fixed a bug where some scanners can only scan with document feeder but not the flatbed.

New in Dynamic Web TWAIN 15.0.0 (Jun 27, 2019)

  • New:
  • [HTML5 | Windows] Added a new method startScan which accepts a JSON object that specifies all the scan parameters. This makes it simpler and even faster to initiate a scan job. At the same time, you can specify how you want the scanned data to be processed by adding extra output parameters in the same JSON object.
  • [HTML5 | Windows] Added a new event OnPostTransferAync as the asynchronous counterpart to the existing synchronous event OnPostTransfer. Information about the transferred image is returned in the event listener.
  • [HTML5 | Windows] Added a new PDF core DLL as the default engine for PDF encoding & decoding. This new PDF DLL has added support for JPEG2000 and JBIG2 compression types.
  • [HTML5 | Windows] Added a new method PDF.Write.Setup which accepts a JSON object that contains all the parameters needed for creating PDF files.
  • [HTML5 | Mac] Added a new file libDynamicImg.dylib to the macOS edition which provides functionalities equal to those provided by the file DynamicImage.dll on Windows. Essentially, this file offers better image encoding and decoding.
  • [HTML5] Added a pair of methods IndexToImageID and ImageIDToIndex which converts the index of an image to its image id or vice versa. The id of an image is an unique number that can be used to specify the image.
  • [HTML5] Added a new event OnIndexChangeDragDropDone which is triggered when you drag and drop images to resort them in the viewer. The event returns the from and to indices for the operation.
  • IMPROVED:
  • [HTML5] Improved the method AcquireImage by adding two more options IfGetImageInfo & IfGetExtImageInfo to its parameter optionalDeviceConfig which are true by default and means extra image info will be returned with each transferred image.
  • [HTML5 | Windows] Improved the method SetFileXferInfo so that you can specify a naming pattern for the transferred images when the transfer mode is Disk File.
  • [HTML5] Improved the performance of Dynamsoft Service by allowing two time-consuming operations to occur concurrently. The affected methods are ConvertToBlob, ConvertToBase64, GenerateURLForUploadedData as well as a few HTTP Upload methods.
  • [HTML5] Improved service connecting efficiency by removing optional ports and use the same ports no matter it's 64bit service or 32bit. Also, during initialization, JavaScript will attempt to connect to the core scan module directly instead of connecting to the service first.
  • [HTML5] Improved the functions ConvertToBase64, ConvertToBlob, GenerateURLForUploadData, HTTPUpload, HTTPUploadAllThroughPostAsMultiPageTIFF, HTTPUploadAllThroughPostAsPDF, HTTPUploadThroughPost, HTTPUploadThroughPostAsMultiPagePDF, HTTPUploadThroughPostAsMultiPageTIFF, HTTPUploadThroughPostEx so that the current indices of the images which were operated on in these methods are returned in the callback functions. This is due to the fact that the indices might have changed during these time-consuming operations.
  • CHANGED:
  • [HTML5 | Windows] 64bit service has been made the default option on 64bit machines.
  • FIXED:
  • [HTML5 | Windows] Fixed a bug where it takes too much time to load a network file in RDS-mode Chrome.
  • [HTML5 | Windows] Fixed a bug where an unwanted black line may appear as the right edge of saved TIFF files.

New in Dynamic Web TWAIN 14.3.1 (Jan 15, 2019)

  • [ActiveX] Added method GetImagePartURL to work with the Barcode Reader.
  • [HTML5] Added a few global settings which may speed up the initialization process of the SDK. The settings are IfChekDCP, IfCheckDWT, IfDisableDefaultSettings and IsLicensePromptFriendly.

New in Dynamic Web TWAIN 14.3 (Nov 20, 2018)

  • [All Editions] Unified the installation prompt for all editions.

New in Dynamic Web TWAIN 14.2 (Oct 16, 2018)

  • IMPROVED:
  • [All Editions] Simplified the installation process of the SDK by putting multiple installers together. From this version on, you can get the Dynamsoft Service, Dynamic Web TWAIN and its PDF Rasterizer addon installed with one installer.
  • [HTML5] Improved the method ConvertToBlob so that it can be called multiple times in a row.
  • [File Uploader] Added a property FormField to allow adding extra fields when uploading.
  • FIXED:
  • [HTML5] Fixed a bug with the file DynamicSocket.dll to avoid service crash.
  • CHANGED:
  • Removed Dynamsoft Camera SDK related files.

New in Dynamic Web TWAIN 14.1 (Sep 6, 2018)

  • [ActiveX| Windows] Improved the SelectSource() method so that it can also be used asynchronously.
  • [File Uploader] Updated the upload module so that the information returned from the server can be accessed in the callback functions of an upload job.
  • [File Uploader] Added the version number of the library to the name of the library so that different versions of the library can co-exist.

New in Dynamic Web TWAIN 14.0 (Jul 17, 2018)

  • New:
  • [HTML5 | Windows] Added a new upload module to handle upload jobs which can carry out upload jobs behind the scene even after the browser is closed.
  • [HTML5 | Windows] Added a new API GenerateURLForUploadData to generate a URL which will be used by the upload module to fetch the file/data to upload.
  • [HTML5 | Windows] Added a 64-bit service, 64-bit scan module, and 64-bit PDF Rasterizer. However, the 32-bit service and modules are still installed by default.
  • [HTML5 | Windows] Added Enhanced Mode to the service to optimize the performance for environments like Citrix. When enabled, the service can handle multiple client connections much better.
  • [HTML5] Added a JS-based SelectSource dialog to replace the system’s default dialog.
  • [HTML5] Added a feature to drag and drop one or multiple images in the viewer to rearrange them.
  • [HTML5] Added a feature to load images when they are dropped onto the viewer from the local disk. When dropping in-between 2 images in the viewer, the new images will be inserted between them, otherwise, the new images will be appended.
  • [HTML5] Added scan, load, and remove features to the image editor.
  • [HTML5] Added a configuration IfCheck64bitServiceFirst in dynamsoft.webtwain.config.js which determines whether the JavaScript library checks the 64-bit Dynamsoft Service first. If 64-bit server is installed, this setting will speed up the initialization of the SDK. The default value is false.
  • [HTML5] Added a configuration IfAddMD5InUploadHeader in dynamsoft.webtwain.config.js which determines whether the header dwt-md5 is added in HTTP posts. The default value is false.
  • [HTML5] Added a configuration IfConfineMaskWithinTheViewer in dynamsoft.webtwain.config.js which determines whether the mask during SDK initialization or time-consuming operations covers the complete page or just the built-in viewer. The default value is false.
  • [HTML5] Added configurations in dynamsoft.webtwain.config.js that enables setting the display language for built-in prompts and image editor, etc. The default language is English.
  • [HTML5] Added configurations in dynamsoft.webtwain.config.js to show/hide certain buttons on the image editor.
  • IMPROVED:
  • [All Editions] Rearranged the /Resources/ folder in the installation directory which contains all the JavaScript library files and files for distribution. Removed the deprecated plug-in completely.
  • [HTML5 | Windows] Improved the file transfer mode to be able to transfer multiple files in one scan session.
  • [HTML5 | Windows] Added Unicode support to make it possible to access files which has special characters from non-English languages in its path or name.
  • [HTML5] When the viewer is set to the view mode of 1*1 or -1*-1, users can now select multiple areas on the image by drawing rectangles while pressing the CTRL button. These selected areas can be moved around too.
  • [HTML5] Improved the event OnImageAreaSelected so that when it’s triggered, it will return the 1-based index of the rectangle which represents a selected area on the image. The event is triggered when a new area is selected or a selected area is moved.
  • [HTML5] The HTML5 license can now be used to restrict the usage of the SDK in certain browsers.
  • [ActiveX] Updated the license verification module to be compatible with that of the HTML5 edition.
  • CHANGED:
  • [All Editions] Removed intellisense files but still available upon request.
  • [HTML5 | Windows] The service is now installed with a .msi by default instead of a .exe.
  • [HTML5 | macOS] Changed the API ImageCaptureDriverType which now is set to 4 by default and the only allowed values are 0 (TWAIN), 3 (ICA) and 4 (TWAIN & ICA).
  • [HTML5] All the required images in the SDK are hard-coded into JavaScript code.
  • [HTML5] The non-production server license will now come with a prompt of license notice.
  • [HTML5] Changed the background color for images when they are selected or when the mouse hovers over one of them. This only works when the view mode is n*n. By comparison, in old versions, the background stays white.
  • [HTML5] Changed the background color for the image editor.
  • [HTML5] Changed the theme of the SDK including the progress bar color, waiting spinner, etc.
  • [HTML5] Changed the events OnMouseClick, OnMouseDoubleClick and OnMouseRightClick to be triggered when the mouse is up. In old versions, they were triggered when the mouse is down.

New in Dynamic Web TWAIN 13.4.1 (Apr 16, 2018)

  • New:
  • [All Editions] Dynamic Web TWAIN is officially published to NPM.
  • IMPROVED:
  • [HTML5 | Windows & Linux] Optimized the scanner module for better compatibility with certain scanner models.
  • [All Editions] Improved the JS library so that it works better with Angular 5.

New in Dynamic Web TWAIN 13.4 (Mar 15, 2018)

  • IMPROVED:
  • [HTML5] Optimized the installation process so that users who are not able to download Dynamic Web TWAIN module as a ZIP can now download it as an MSI file to install.
  • CHANGED:
  • Updated the SDK installer to make it possible to download and install other Dynamsoft SDKs together with Dynamic Web TWAIN during the installation process.
  • FIXED:
  • [HTML5] Fixed a bug where you see the progress bar displayed on the page for no reason when you use Dynamic Web TWAIN with other libraries or frameworks like the popular BootStrap.

New in Dynamic Web TWAIN 13.3 (Jan 17, 2018)

  • IMPROVED:
  • [Add-on] Replaced the PDF Rasterizer add-on with a new technology which made it possible to use the rasterizer on macOS as well as Linux besides Windows.
  • [HTML5] Optimized the memory usage by Dynamsoft Service and the JavaScript library so that users can scan and process even more pages.
  • [HTML5] Optimized the scan module on Linux for better user experience.
  • [HTML5] Updated the HTTPUpload*** methods so that they can be used in a for-loop.
  • [HTML5] Updated the installer of Dynamsoft Service so that Firefox no longer needs to be restarted twice.
  • [HTML5] Added a new button for the "Erase" feature on the built-in image editor.
  • [HTML5] Improved the method OverlayRectangle so that the overlays will move with the image.
  • [HTML5] Improved the method OverlayRectangle so that the image is moved automatically to make sure the newly added overlay is placed in the center of the viewer. This only works when the image is larger than the viewer.
  • [HTML5] Added a "readme" file in the /Resources/ folder to explain what each file is for in that folder.
  • CHANGED:
  • [HTML5] Changed the installing process especially for users who need to use the SDK in a domain network.
  • [ActiveX] Changed the default value for IfAllowLocalCache to "true".
  • [Add-on] The convert mode "CM_AUTO" is removed for the method PDF.SetConvertMode.
  • FIXED:
  • [All Editions] Fixed a bug where the uploaded PDF files might be corrupted if the upload was interrupted during the process due to insufficient physical memory.
  • [HTML5] Fixed a bug where an error is thrown even after a TIFF file is loaded successfully.
  • [ActiveX] Fixed a bug where a very big PDF file might fail to be loaded.
  • [ActiveX] Fixed a bug where IE might crash when saving scanned images to a multi-page PDF or TIFF.

New in Dynamic Web TWAIN 13.2 (Nov 1, 2017)

  • Fixed:
  • [HTML5 for All] Fixed a memory leak where the scanning service didn't release memory after transferring image data to web browsers. Note: this bug started in version 13.0.
  • [HTML5 for Mac] Fixed a bug where sometimes the web twain service didn't get shut down properly
  • [ActiveX] Fixed a bug where a base64 string ended with "==" could not be decoded by using the SetCustomDSDataEx method
  • [ActiveX] Fixed a bug where the Dynamsoft.WebTwainEnv.Load method didn't work after calling the Dynamsoft.WebTwainEnv.Unload method
  • [ActiveX] Fixed a bug where the TransferMode property didn't work properly
  • Other small fixes and tweaks.

New in Dynamic Web TWAIN 13.1 (Oct 27, 2017)

  • New:
  • [HTML5 Only] Added the ConvertToBlob API to return the Blob of specified indices in the designated file type.
  • IMPROVED
  • [HTML5 Only] Improved the SetHTTPFormField API to be able to set Blobs in HTTP Forms aside from strings.
  • [HTML5 Only] Improved the HTTPUpload API to be able to upload binary data set by SetHTTPFormField.
  • [HTML5 Only] Improved the SetHTTPHeader API to support HTTPDownload(Ex) methods as well.
  • [HTML5 Only] Added prefix to all names used in CSS to avoid possible conflict.
  • [HTML5 Only] Much improved performance for the communication between browsers and the service.
  • Fixed:
  • Fixed a bug where you can't initialize the SDK with the method "Load" on the page without first "Unload" it.
  • Fixed a bug where the HTTPUpload API doesn't work if it's done asynchronously in a loop.
  • Fixed a bug where you get an error when setting the size of the viewer by percentage.
  • Notice:
  • The ActiveX edition stays unchanged for this upgrade.

New in Dynamic Web TWAIN 12.2.0 (Jan 11, 2017)

  • IMPROVED:
  • [HTML5 Only] Improved the SSL certificate by updating the signature algorithm to SHA256
  • [HTML5 Only] Improved the Web TWAIN service to handle the new certificate
  • FIXED:
  • Fixed a bug where scanning might fail if the user doesn't register the event OnPostTransfer
  • Fixed a bug where CreateDWTObject still tries to connect to non-SSL ports even when the page is running in HTTPS

New in Dynamic Web TWAIN 12.1.0 (Nov 9, 2016)

  • NEW:
  • Added the Linux Edition to support Firefox and Chrome on 64bit Linux OS.
  • [HTML5 Only] Added a new method SetUploadSegment which can be used to set the threshold for segmented upload as well as size of each segment.
  • IMPROVED:
  • [HTML5 Only] Improved the method CreateDWTObject to allow listening on multiple IPs.
  • [HTML5 Only] Improved the OCR pro license to allow using multiple licenses.
  • Improved how the SDK works in Edge. Now you can run local pages directly in Edge.
  • FIXED:
  • Fixed a bug where CurrentImageIndexInBuffer and HowManyImagesInBuffer return wrong values in the callback for the event OnPostLoad.
  • Fixed errors with license error messages.
  • Fixed a bug where an image disappears when you try to get information like resolution or size of the image in the callback for the OnPostTransfer event.
  • Fixed a bug where the 'decoding tiff' dialogue appears when converting PDF files to images.

New in Dynamic Web TWAIN 12.0.0 (Sep 22, 2016)

  • New:
  • [HTML5 Only] Added a new method HTTPUpload which supports uploading files as binary as well as base64 string. The method also supports segmented upload when handling big files.
  • [HTML5 Only] Added a new method ConvertToBase64 which supports converting one or more images to a base64 string.
  • [HTML5 Only] Added a new method SetHTTPHeader which supports adding a header to a HTTP Upload Post request.
  • [HTML5 Only] Added a new method GetImageURL which returns the direct URL of an image based on its index in the buffer.
  • Added a new property IfAutoScroll which when set to false will stop the automatic scrolling of the viewer when scanning or loading images.
  • Added a new security feature called Dynamsoft Authentication which requires more user interaction when dealing with local files or devices.
  • Added MSI installers for both ActiveX and HTML5 editions.
  • Improved:
  • Improved the method ChangeImageSize by adding a new mechanism for the new option "Best Quality".
  • Improved the way license verification is done and optimized the error messages for license issues.
  • Improved the way a Web TWAIN object is created by adding global methods like Dynamsoft.WebTwainEnv.CreateDWTObject and Dynamsoft.WebTwainEnv.DeleteDWTObject.
  • Improved the image editor's zooming feature by allowing it to zoom centered by the position of the mouse.
  • Improved the way uploading is done by adding a MD5 to every upload Post request.
  • Fixed:
  • Fixed a bug where MagData doesn't work during scanning.
  • Fixed a bug with the Mac edition where TIFF files are loaded with inverted colors.
  • Fixed a bug where the event OnPostLoad gets triggered twice when loading a file.
  • Fixed a bug with the ActiveX where selecting an image area returns the wrong coordinates when the image is bigger than the viewer (scrollbars are shown).
  • Fixed a bug where CurrentImageIndexInBuffer and HowManyImagesInBuffer are not updated correctly when the method LoadImagesFromBase64Binary is used.

New in Dynamic Web TWAIN 11.3.2 (Sep 22, 2016)

  • New:
  • Added the feature to automatically create a dump file for debugging purposes when the scanning service crashes
  • Added official support for OCR Professional
  • Improved:
  • Optimized the scanning performance by reducing unnecessary web socket messages
  • Optimized the compatibility of the accompanying JS files so that they can work with different versions of scanning services
  • Added an internal mechanism in the accompanying JS files to support Angular2

New in Dynamic Web TWAIN 11.3.0 (Sep 22, 2016)

  • New:
  • Added IsTextBasedPDF API to the PDF rasterizer to determine whether a PDF is text-based
  • Added support for reading binary barcode and returning the result as a base64 string
  • Improved:
  • Updated barcode reader library to v4.1.0.112 which uses improved positioning algorithm that can better identify and locate DataMatrix barcodes
  • Improved the event OnPostLoad so that it gets triggered for the methods HTTPDownload(Ex), FTPDownload(Ex) as well as LoadImageFromBase64Binary
  • [HTML5 edition only] Improved the API AcquireImage. Now you can set two callback functions to this method to check its status
  • Fixed:
  • Fixed bugs related to asynchronous APIs such as the bug where the image index is not updated properly for the first and second images
  • Fixed a bug where the error message for cancelling the ‘Open File Dialog’ says ‘fail to open file dialog box’. Now it correctly says that ‘User cancelled the operation’
  • [HTML5 edition only] Fixed a bug in printing where no matter how you set up, you can only get one copy
  • [HTML5 edition only] Fixed a bug where the event OnSourceUIClose never gets triggered
  • Fixed a few small bugs with the API documentation and Samples within the product installer
  • Others:
  • The API CloseSource used to be called automatically after a scanning job is done in v11.2 and a few earlier versions. This has caused issues for a few customers. In this version, this API is no longer called automatically
  • We have improved the SDK so that it can also work seamlessly with our OCR add-on. For more information, please contact [email protected]

New in Dynamic Web TWAIN 11.2.0 (Sep 22, 2016)

  • New:
  • Added PDF Rasterizer Add-on to convert text PDF files to images. This way, text PDF files can be successfully displayed in the viewer.
  • Added DataMatrix Reader add-on to read data matrix code from an image.
  • Added PDF 417 reader add-on to read PDF 417 code from an image.
  • Added CloseWorkingProcess method to close the current HTML5 scanning process.
  • Improved:
  • Improved Print method to support printing images via Windows' native print program.
  • Improved the upload mechanism to indicate a successful upload if the returned string from server side only contains invisible characters.
  • Improved the performance of scanning by optimizing the scanning process.
  • Fixed:
  • Fixed a bug where scanner source can't be displayed when multiple scanning pages are opened in a browser on Mac.
  • Fixed a bug where the HTML/JS samples in the product installation folder failed to run locally in Edge browser unless the demos are deployed to an HTTP Server.
  • Fixed a bug where the return value is incorrect when users click on Cancel button in the Select Source dialog.
  • Fixed a bug where OnPostLoad event is not triggered when loading a local image via its full file path.
  • Fixed a bug where scanning log is enabled by default. It could affect the performance of HTML5 scanning.
  • Other small fixes and tweaks.

New in Dynamic Web TWAIN 11.1.0 (Sep 22, 2016)

  • New:
  • [HTML5 Edition] Added support for Microsoft Edge browser.
  • [Windows Edition] Added QR Code Reader Add-on.
  • Improved:
  • Other small fixes and tweaks.
  • Fixed:
  • Other small fixes and tweaks.

New in Dynamic Web TWAIN 11.0.0 (Sep 3, 2015)

  • New:
  • [HTML5 Edition] Added HTML5 support for Internet Explorer 10 and 11.
  • Added SetOpenSourceTimeout method to check ErrorString property when SelectSource method fails after a specified number of milliseconds. This prevents the scan page from being unresponsive when the selected device is not connected.
  • [Webcam Add-on] Added SetVideoRotateMode method to rotate the video preview stream.
  • [HTML5 Edition] Added OnWebTwainPreExecuteCallback, OnWebTwainPostExecuteCallback events and ShowCustomMask, HideCustomMask methods in dynamsoft.webtwain.install.js to display or hide the Dynamsoft's progress overlay during scanning.
  • Improved:
  • [Barcode Add-on] Improved 1D Barcode Reader Add-on to support reading CodeBar, Code_93, EAN_8, EAN_13, ITF, UPC_A, UPC_E.
  • [HTML5 Edition] Improved performance of built-in image viewer when viewing images in 1 * 1 view mode.
  • [HTML5 Edition] The method Print now supports printing multiple pages.
  • Improved security by limiting the access of Dynamsoft Scanning Service to registered domain(s) or IP(s) for a particular website.
  • Fixed:
  • [HTML5 Edition] Fixed a bug where users are continuously prompt to install Dynamic Web TWAIN on Firefox when accessing a secure website on a different Windows user account.
  • [ActiveX Edition] Fixed a bug where the system's save-file dialog does not appear when saving images in IE11 on Windows 8.1.
  • [ActiveX Edition] Fixed a bug where the DynamicWebTwainCtrl.dll crashes when LogLevel is set to 1 and HTTPPostResponseString returns more than 1024 characters.
  • [ActiveX Edition] Fixed a bug where the remote file URL gets truncated if it is too long when uploading or downloading.
  • Fixed a bug where the method SetHTTPFormField does not work as expected.
  • [HTML5 Edition] Fixed a bug where 'Upload Error' is returned when image uploading is cancelled.
  • Fixed a bug where the method SetTiffCustomTag does not work.
  • [All Editions for Windows] Fixed a bug where the method CapIfSupported does not return support level of specified capability.
  • Other small fixes and tweaks.

New in Dynamic Web TWAIN 10.1.1 (Mar 10, 2015)

  • New:
  • Added Dynamsoft.WebTwainEnv.AutoLoad property to enable or disable automatic loading of Dynamic Web TWAIN
  • Added dynamic loading and unloading methods Dynamsoft.WebTwainEnv.Load and Dynamsoft.WebTwainEnv.Unload
  • Improved:
  • Improved the initiation process for Dynamic Web TWAIN so that you don't need to worry about the order of dynamsoft.webtwain.initiate.js and dynamsoft.webtwain.config.js
  • Fixed:
  • Fixed a bug where the event OnImageAreaSelected gets fired multiple times when you draw a rectangle on the image

New in Dynamic Web TWAIN 10.1 (Mar 10, 2015)

  • New:
  • Added 1D Barcode Reader Add-on to support reading Code39 and Code128.
  • Added JavaScript IntelliSense to help you write code faster and with fewer errors. You can use IntelliSense in Visual Studio 2010 or above and Eclipse 4.2 or above.
  • Added BufferMemoryLimit property to set how much physical memory is allowed for storing images. Once the limit is reached, images will be cached on the hard disk. Cached image data will be automatically deleted when the scan page is closed.
  • Added enumerated constants to make your code more readable.
  • Improved:
  • Greatly improved user experience by providing well-arranged API document and simplifying all sample code.
  • The improvements below are specifically for Chrome&Firefox Edition - which uses HTML5 WebSocket
  • Optimized memory usage to handle more scanned images
  • Added support for cropping an image when the image viewer is set to 1 x 1 view mode
  • Improved page size setting of the Print method
  • Supported SetSelectedImageArea method and OverlayRectangle method
  • Dynamic Web TWAIN v10.1 now supports Internet Explorer (IE) 6 and 7. In v10.0 and v10.0.1, IE 6 and 7 were not supported.
  • Fixed:
  • Fixed a bug where the property TIFFCompressionType does not work properly.
  • Fixed a bug where clipboard related APIs did not work in the HTML5 version.
  • Fixed a bug where uploading images in a loop did not work in the HTML5 version.
  • Other small fixes and tweaks

New in Dynamic Web TWAIN 10.0.1 (Mar 10, 2015)

  • New:
  • Enhanced robustness of WebSocket connection: The new version will automatically try re-building the connection in case it is inadvertently closed due to network problems.
  • Better support for Chrome 38, such as downloading large files using the HttpDownload method.
  • Improved:
  • When a user visits the scan page for the first time the new version takes 1~2 seconds to detect whether the client-side browser has Dynamic Web TWAIN installed. With v10.0, it took around 7 seconds before the installation prompt.
  • With the file updated to dynamsoft.webtwain.config.js you can freely move the Resources folder to any directory you like.
  • More detailed log files.
  • Fixed:
  • In v10.0.1 there is no limit to the size of an Http Request. In v10.0, the WebSocket connection could have failed to be built if the size of Http Header was larger than 1kB, which led to a recurring prompt for installation.
  • Fixed a bug where the browser crashed if the WebSocket was closed during the upload process.
  • Fixed a bug where a time-out error might occur during uploading of a big file.
  • Fixed a bug where the property settings on TIFFCompressionType does not work.
  • Fixed the bug where the method FTPDownloadDirectly does not work.
  • Fixed the bug where the method FTPUploadDirectly does not work using "\\" in path parameters.
  • The responses from the server after upload are now wholly put into the property HTTPPostResponseString. With previous versions, the responses would be trimmed if longer than 1024 KB.

New in Dynamic Web TWAIN 10.0 (Mar 10, 2015)

  • New:
  • Added HTML5 Image Viewer to the Chrome&Firefox Edition
  • Added progress bar when loading, saving, uploading & downloading multiple images
  • Improved:
  • Faster and more stable image acquisition
  • Improved samples in the installer
  • Fixed:
  • Fixed the bug where image acquisition service sometimes stops during multiple operations
  • Fixed the bug where HTTPDownloadDirectly fail to download files
  • Fixed the bug where some scanning settings don't work for some models of Neat scanners
  • Other small fixes and tweaks

New in Dynamic Web TWAIN 10.0 Preview (Mar 10, 2015)

  • New features and Improvements:
  • New HTML5 WebSocket SDK to enable TWAIN scanning in Chrome and Firefox 27+ on Windows.
  • Added Disk Caching mechanism. This feature enables high volume document scanning which was limited by the physical memory size.
  • Added JPEG compression type to TIFF encoding/decoding. You can reduce the size of TIFF files significantly by using the JPEG compression.
  • Much improved image editing features like ChangeBitDepth, GrayScale, etc.
  • Other small fixes and tweaks

New in Dynamic Web TWAIN 9.3 Preview (Mar 10, 2015)

  • New HTML5 WebSocket SDK to enable TWAIN scanning in post-NPAPI Chrome. The new SDK will be added to the Plugin Edition of Dynamic Web TWAIN.

New in Dynamic Web TWAIN 9.2 (Jan 3, 2014)

  • Fully support Internet Explorer 11
  • Added RegisterEvent method and UnregisterEvent method for using Dynamic Web TWAIN events in IE 11 and other web browsers (e.g. Chrome, Firefox, Safari and Opera)
  • Other minor fixes and tweaks

New in Dynamic Web TWAIN 9.1 (Aug 27, 2013)

  • New features and Improvements:
  • The new property - ImageCaptureDriverType - allows Mac users to directly acquire images via native scan (without installing a TWAIN driver).
  • Improved IE users' experience when using a separate process (i.e. BrokerProcessType = 1) for document scanning.
  • In v9.0, IE users might need to manually allow the broker process to run. It is now automated with the enhanced security of the ActiveX edition.
  • Fixed bug where OnPostTransfer event is not triggered in some cases.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 9.0 (Mar 28, 2013)

  • New features and Improvements:
  • Simplified installation and deployment process.
  • For developers: no need to generate a LPK file to verify the license. The ProductKey property is available to set a series of alphanumeric code for license verification at runtime. Developers only need to generate a product key with Licensing Manager which is installed with Dynamic Web TWAIN.
  • For end users: no need to install/enable Microsoft Licensed Class Manager. It would be much easier for end users to activate the control.
  • Added a new feature to acquire images in an independent process which greatly improves the robustness of the application.
  • Added MaxInternetTransferThreads property to set the maximum number of threads for uploading /downloading files through POST. This can dramatically improve the performance.
  • Added FileExists method to check if a certain file exists on the local disk.
  • Added GetSkewAngle/GetSkewAngleEx (Mac edition not supported) property to get the skew angle of an image by its index in buffer.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 9.0 (Mar 28, 2013)

  • New features and Improvements:
  • Simplified installation and deployment process.
  • For developers: no need to generate a LPK file to verify the license. The ProductKey property is available to set a series of alphanumeric code for license verification at runtime. Developers only need to generate a product key with Licensing Manager which is installed with Dynamic Web TWAIN.
  • For end users: no need to install/enable Microsoft Licensed Class Manager. It would be much easier for end users to activate the control.
  • Added a new feature to acquire images in an independent process which greatly improves the robustness of the application.
  • Added MaxInternetTransferThreads property to set the maximum number of threads for uploading /downloading files through POST. This can dramatically improve the performance.
  • Added FileExists method to check if a certain file exists on the local disk.
  • Added GetSkewAngle/GetSkewAngleEx (Mac edition not supported) property to get the skew angle of an image by its index in buffer.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 9.0 (Mar 28, 2013)

  • New features and Improvements:
  • Simplified installation and deployment process.
  • For developers: no need to generate a LPK file to verify the license. The ProductKey property is available to set a series of alphanumeric code for license verification at runtime. Developers only need to generate a product key with Licensing Manager which is installed with Dynamic Web TWAIN.
  • For end users: no need to install/enable Microsoft Licensed Class Manager. It would be much easier for end users to activate the control.
  • Added a new feature to acquire images in an independent process which greatly improves the robustness of the application.
  • Added MaxInternetTransferThreads property to set the maximum number of threads for uploading /downloading files through POST. This can dramatically improve the performance.
  • Added FileExists method to check if a certain file exists on the local disk.
  • Added GetSkewAngle/GetSkewAngleEx (Mac edition not supported) property to get the skew angle of an image by its index in buffer.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 8.0.1 (Oct 31, 2012)

  • New Events and Improvements:
  • OnSourceUIClose(): triggered when the user interface of source is closed.
  • OnBitmapChanged(): triggered when the bitmap of image buffer is changed, such as new image scanned, image deleted or image edited etc.
  • Improved LoadDibFromClipboard() method. You can now load images in clipboard of Windows Vista or above into Dynamic Web TWAIN.
  • Improved the performance of the IsBlankImage() and IsBlankImageEx() methods for detecting blank images.
  • Fixed Bugs:
  • Fixed bug where the original DPI (dots per inch) got lost when saving images using the 64-bit ActiveX Edition.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 8.0 (Jul 17, 2012)

  • New Add-ons:
  • Added new add-on: Barcode (1D) - supports 1D barcode recognition.
  • Added new add-on: Barcode (2D) - supports 2D barcode recognition.
  • Added new add-on: OCR (Optical Character Recognition) - performs OCR on documents in different languages and converts them to searchable text and PDFs.
  • New features:
  • Added GetImageXResolution and GetImageYResolution method to get the resolution from the scanned image(s).
  • Added SetDPI method to Change the DPI (dots per inch) for the specified image.
  • Added ShowFileDialog method and OnGetFilePath event to show the "save file dialog"/"open file dialog" and get the path.
  • Added AllowPluginAuthentication property to allow the plugin to send authentication requests.
  • Added BlankImageCurrentStdDev property to return the current standard deviation of the pixels in the image.
  • Added MagData and MagType properties to read magnetic data from scanners.
  • Other new methods, events and properties for the add-ons.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 6.3.1 (Oct 19, 2011)

  • Improved the memory management for ActiveX 64-bit Edition.
  • Added LogLevel property to capture more exceptions.
  • Changed the "Thank you for evaluating ..." dialog box to non-modal dialog. (For Plug-in edition only)
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 6.3 (Oct 19, 2011)

  • Support both 32-bit and 64-bit TWAIN device drivers (ActiveX Edition only).
  • Support both 32-bit and 64-bit Internet Explorer (ActiveX Edition).
  • Support Firefox 4.
  • Added the OnPostLoad event which is triggered after executing LoadImage /LoadImageEx.
  • Optimized the LoadDibFromClipboard method.
  • Optimized image editor.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 6.2 (Oct 19, 2011)

  • Support TWAIN Specification 2.1.
  • Further improved the security:
  • Compatible with Data Execution Prevention (DEP) and Protected Mode.
  • Added Windows Authentication and Basic Authentication support for Plug-in Edition.
  • Allow you to install the ActiveX control to your personal folder.
  • Easier and faster image processing:
  • Added IfShowFileDialog property to show the browse dialog box when loading and saving images.
  • Optimized the blank page detection. Added IsBlankImageEx method to detect whether a certain area on an image is blank.
  • Added SaveSelectedImagesToBase64Binary to save selected images to base64 binary.
  • Added LoadImageFromBase64Binary to load images from a base64 byte array.
  • Added support for fitting the selected image to the width or height of the window. Added properties: FitWindowType .
  • Added support for getting general info of a scanned image, including image width/height and bit depth. Added methods: GetImageBitDepth , GetImageWidth and GetImageHeight
  • Further improved the print feature. Added IfShowPrintUI to set whether to display the user interface of the printer.
  • Support more models of Canon scanners.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 6.1 (Oct 19, 2011)

  • Simplified installation process for Chrome, Safari, Opera users.
  • Support simple Annotation.
  • Support Forms Authentication.
  • Support certificate binding.
  • Added session/cookie support for Plug-in Edition.
  • Added removing selected images.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 6.0 (May 29, 2010)

  • Firefox 3.6 supported.
  • Chrome, Opera, Safari on Windows supported (Plug-in Edition).
  • Added barcode detection.
  • Added multiple images selection.
  • Added saving images to a byte array.
  • Added loading an image from a byte array.
  • Added uploading multiple images as a multipage PDF/TIFF file.
  • Support setting board color for selected images.
  • Support FTP passive mode.
  • Support specifying the field name when uploading through HTTP POST.
  • Added rotating the image of a specified index in buffer by a specified angle.
  • Added cutting the image data in the specified area to the system clipboard in DIB format.
  • Added clearing the specified area of an image and filling the area with a color.
  • Other minor fixes and tweaks.

New in Dynamic Web TWAIN 5.2 (Jul 23, 2009)

  • Summary:
  • Added Integrated Windows authentication support (ActiveX edition only).
  • Fixed session bug.
  • Improved TIFF and PDF support.
  • Added blank page detection.
  • Added zoom in/zoom out features.
  • Other minor fixes and tweaks.
  • Details:
  • Modified Method
  • Added a new feature in ShowImageEditor(): If the IfFitWindow property is set to TRUE, the image will fit the size of window when the Image Editor prompts; otherwise the image will be displayed in its full size.
  • Added Method
  • IsBlankImage()
  • Added Properties
  • BlankImageMaxStdDev, BlankImageThreshold, Zoom, EnableInteractiveZoom
  • Added Capbility
  • ICAP_EXTIMAGEINFO

New in Dynamic Web TWAIN 5.0.1 (Dec 5, 2007)

  • Optimized PDF encoder and decoder.
  • Detail error message returned when uploading images through POST method fails.
  • Fixed bugs.

New in Dynamic Web TWAIN 5.0 (Oct 26, 2007)

  • PDF and multi-page PDF support added. HTML form manipulation support added. Image preview mode added. Image upload progress bar and cancel option added. Download from HTTP stream support added. More user interaction features added. Other minor fixes and tweaks.