New features
-
Save the encrypted image caches in local Dynamsoft Service folder
In certain scenarios, there may be requirements to store encrypted image caches on a local disk for temporary data storage or backup purposes. Dynamic Web TWAIN introduces a new feature that facilitates developers in securely storing image caches in encrypted form within the Dynamsoft Service folder.
-
Access-Control-Allow-Origin for Dynamsoft Service
A new security feature configures Dynamsoft Service to respond only to requests from specified origins.
-
Generate the encrypted PDF files
Supports the generation of encrypted PDF files.
New APIs
-
Global
APIs Description IfCheckCORS
Whether to check CORS issue in detail. -
Buffer
APIs Description updateImage()
Update the specified image with a new image. OnDiskExceedLimit
A built-in callback triggered when disk cache exceeds the limit. -
Input/Output
APIs Description createLocalStorage()
Create a storage folder locally to save the cache of encrypted images. localStorageExist()
Determine whether the storage folder exists or not. saveToLocalStorage()
Save encrypted image caches to the specified storage folder. loadFromLocalStorage()
Load image from the specified storage folder. removeLocalStorage()
Remove the specified storage folder. httpUploadBlob()
Upload images which are in blob format. saveBlob()
Save image which are in blob format. IfSortBySelectionOrder
Whether to load the files by the selection order when load files by open file dialog.
Improvements
- Updated third-party libraries to enhance security.
- Added an optional parameter
capabilities
to the methodgetCapabilities()
for getting specified capabilities. - Added
modifyId
to the interfaceBufferChangeInfo
for returning theimageId
of the modified image whenOnBufferChanged
is triggered. - Added
password
to the interfacePDFWSettings
for configuring the password of the PDF file to save whenWrite.Setup()
is called. - Added data type
Device
to the parameterscanner
in the interfaceScanSetup
for supporting the device object whenstartScan()
is used. - Optimized the quality of the deskewed image in the built-in ImageEditor.
Changes
-
Changed the design of the default Dynamsoft Service installation pop-up.
-
Changed the data type of
imageId
fromnumber
tostring
. The affected APIs are as follows:- Methods:
ImageIDToIndex()
,IndexToImageID()
-
Interfaces:
Interfaces Related Methods or Events TagInfo
GetTagList()
DocumentInfo
GetDocumentInfoList()
OutputInfo
OnPostTransferAsync
BufferChangeInfo
OnBufferChanged
- Methods:
Bug fixes
- Resolved a bug where a predominantly white image turned black when changing its bit depth to 1 or converting it to B&W by fixing a threshold issue in the methods
ChangeBitDepth()
andConvertToBW()
. - Resolved the file compatibility issue when loading PDF files via drag and drop.
- Resolved a bug where
Dynamsoft.DWT.Unload()
was still called even when the web page reload was cancelled.
Barcode Reader Addon
- Updated to version 9.6.40.