Skip to content

Releases: Dynamsoft/document-viewer-javascript

3.1.0

16 Oct 01:45

Choose a tag to compare

UX Changes

For Edit Viewer:

  • Added support for panning images in textSelection mode.
  • Text markup annotations can be modified after being cropped.
  • Return to pan mode if textSelection mode is turned off on mobile by clicking the icon.
  • Added support for returning to pan mode by pressing ESC.

For Edit Viewer and Browse Viewer:

When the cursor is around the viewer’s edges when selecting text or dragging the thumbnails, auto-scrolling will be triggered. It can be configured using the enableAutoScrollForTextSelection property for Edit Viewer and the enableAutoScrollForDragPages property for Browse Viewer.

API Changes

Added interfaces for better UI customizability.

Improvements

  • Increased the FPS of rendering documents, especially documents with lots of pages.
  • Optimized the performance of updateOptions().
  • Moved the magnifier into a separate layer to improve the performance and avoid being blocked.

Bug Fixes

  • Fixed a bug where changes of the layout will reset the position of the current document page to its top-left.
  • Fixed a bug where the text is shifted if the PDF’s media box has shifts.

3.0.0

10 Jul 01:27

Choose a tag to compare

Features Highlights

  • Added support for text selection. We can now copy and annotate selected text.
  • Added three text markup annotations: highlight, strikeout and underline.
  • Added support for text search.

API Changes

Improvements

  • Fixed the ineffective quality parameter of saveToJpeg() if a page is unmodified.
  • Improved cursor styles.
  • Improved the performance of resaving a large PDF file.

2.1.0

03 Dec 03:16

Choose a tag to compare

Version 2.1 of Dynamsoft Document Viewer comes with a suite of both exciting new features, improvements to existing features, and performance optimizations.

Dynamsoft Document Viewer now comes with massively improved performance for working with huge documents with a large number of high resolution images. Users can expect to load, edit, annotate, and export massive documents with ease.

New Features

  • Added enableMagnifier, which provides a corner magnifier in the Edit Viewer and Perspective Viewer. This magnifier creates a zoomed-in view of the selected area to allow for more precise adjustments on touchscreen devices.

  • Added keyboard shortcuts for document management. These shortcuts are controlled by KeyboardInteractionConfig. All shortcuts are available for the Edit Viewer, and only the navigation and page selection shortcuts are available for the Browse Viewer:
    • Undo/redo
    • Copy/cut/paste
    • Annotation/page selection
    • Scrolling/navigation
    • Cancel/delete
  • Added drag-and-drop image loading with the new enableLoadSourceByDrag configuration property for the Edit, Browse, and Perspective Viewers (enabled by default).

  • The new setAnnotationDrawingStyle method can now be used when creating annotations to set its default drawing style, for example, to set a custom image to use as the default stamp annotation.

  • Added the following flags to restrict annotation editing actions: 

Read more

2.0.0

20 Aug 02:36

Choose a tag to compare

We are excited to introduce version 2.0, which focuses on adding a powerful new annotation feature. This release includes comprehensive support for various types of annotations, new APIs for managing annotations, and advanced UI capabilities for seamless interaction.

Supported Annotation Types:

Built-in UI for Annotation

Direct Annotation Operations in the UI

  • Add, select, and delete annotations
  • Drag, resize, and rotate selected annotations
  • Real-time editing of annotation styles using the palette

New Built-in Elements

  • Added built-in elements to enhance UI configuration flexibility.

New APIs for Annotation

Other New APIs

Additionally, we’ve optimized performance and added several new features to enhance the overall user experience.

Improved

Changed

1.1.0

16 Jan 01:18

Choose a tag to compare

Improved

  • Optimized compatibility with browsers. » Detail

Added

  • Added the namespace Dynamsoft.DDV.Core.

  • Added the property license to specify the license string.

  • Added the property engineResourcePath to specify the path leading to a folder containing the distributed WASM files.

  • Added the property deviceFriendlyName to specify a human-readable name for the device which corresponds to its UUID.

  • Added the method loadWasm() to load WASM modules before initializing.

  • Added the method init() to initialize DDV.

  • Added the method 

Read more

1.0.0

26 Dec 06:54

Choose a tag to compare

Dynamsoft Document Viewer (DDV) is a versatile SDK designed to offer a range of viewers for configuring and executing various document processing workflows.

Highlights

Efficient Data Management
Organize, retrieve, and manage documents and pages efficiently:

  • Document Management: Document creation/deletion/merging, etc.
  • Page management: Pages in documents loading/saving/deleting/moving, etc.

Various Viewers
Variours kinds of viewers implement different document processing flows:

  • Edit Viewer: Edit the pages in document, such as, rotating, cropping, filtering, etc. and adjust the layout of the display.
  • Capture Viewer: Control camera, play video stream, and capture the images from camera.
  • Perspective Viewer: Do page boundary manual adjustment & perspective transformation.
  • Browse Viewer: Display pages in multiple-mode, pages can be multiple selected.
  • Custom Viewer: No built-in UI or functionality, which is used for creating your own viewer.

Flexible Customization
Besides using the default user interface and viewer directly, developers can easily and flexibly customize them:

Advanced Features
DDV provides methods to access document boundaries detection and image filter algorithms.