New Features
- Greatly expanded support for the RESTful Dynamic Web TWAIN Service.
- PDF Handling:
- Added new PDF Rasterizer Add-On API preserveUnmodifiedOnSave to preserve the size of unmodified PDF pages when saving.
- Added new PDF Rasterizer Add-On API IsRasterizationRequired(). This API returns true if the PDF Rasterizer Add-On is needed to process the PDF. Note that this requires a license for the PDF Rasterizer Add-On.
- Cross-platform support: Added macOS and Linux platform support for DWT Barcode Reader Add-On version 9.6.
- Error messages: Added more informative error messages with the new ErrorCause API.
- Keyboard accessibility: Added Tab key keyboard navigation in the DWT Viewer. The browser now shows a focus outline on the Viewer upon tabbing into the Viewer, which can be disabled with the new {WebTwainObject}.Viewer.disableFocusOutline API. (true/disabled by default)
Improvements
- Security enhancements: updated third-party libraries to enhance security.
- Image rasterization logic: when both ReaderOptions.renderOptions.maxWidth/ ReaderOptions.renderOptions.maxHeight and resolution are set, if the dimensions of the rendered image exceed the maximum width and height, use the resolution applied during the image rendering process rather than the set resolution.
- New Dynamic Web TWAIN Service installation path for Windows: moved installation out of SysWOW64 and System32 on Windows to prevent rare false positive antivirus scans.
- New 64-bit system-wide installations: C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service 19
- New 32-bit system-wide installation location: C:\Program Files\Dynamsoft\Dynamic Web TWAIN Service 19
- Changed ErrorString messages associated with ErrorCode -2003 for HTTPUpload-related APIs to include HTTP codes in the form of HTTP process: {message}({HTTP status code}), e.g. HTTP process: OK(200). This change applies to ErrorString for the following APIs:
- {WebTwainObject}.HTTPUpload()
- {WebTwainObject}.HTTPUploadThroughPost()
- {WebTwainObject}.HTTPUploadThroughPostEx()
- {WebTwainObject}.HTTPUploadAllThroughPostAsMultiPageTIFF()
- {WebTwainObject}.HTTPUploadAllThroughPostAsPDF()
- {WebTwainObject}.HTTPUploadThroughPostAsMultiPagePDF()
- {WebTwainObject}.HTTPUploadThroughPostAsMultiPageTIFF()
- Enhance the customizability of thumbnail viewer: add a position property to its event to facilitate the customization. For example, we can add a delete icon when the mouse is over it.
Removed Features
- Dropped support for the PDF Compressor Add-On.
- Dropped out-of-the-box support for ActiveX.
- Dropped support for 32-bit macOS: now only supporting macOS versions 10.15 and higher.
- Discontinued Android support.
Big Fixes
- Fixed a CORS request blocked error which also triggers a prompt to install the Dynamic Web TWAIN Service.
- Fixed Vite runtime errors caused by polyfills and resource path misconfiguration.