<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-viewer</artifactId>
    <version>24.4</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-viewer', version: '24.4')
copied!  
<dependency org="com.groupdocs" name="groupdocs-viewer" rev="24.4">
    <artifact name="groupdocs-viewer" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-viewer" % "24.4"
copied!  

What’s new in the GroupDocs.Viewer for Java 24.4

Release Highlights

GroupDocs.Viewer for Java 24.4 introduces powerful enhancements in PDF rendering with support for output file optimization and retrieval of detailed view information. This release brings granular control over PDF exports, allowing developers to streamline output for web compatibility, file size reduction, and image handling. It also improves stability and performance by resolving numerous memory, compatibility, and rendering issues across document formats including DOCX, PST, EPS, PSD, and more.

New Features

  • Advanced PDF Optimization Options:
    Developers can now optimize PDF output with features such as linearization for web, grayscale conversion, font subsetting, image compression/resizing, and more.
  • Retrieve View Info During PDF Rendering:
    Access metadata such as page count and dimensions when rendering documents to PDF, supporting more informed rendering decisions.

Enhancements

  • Granular PDF Customization:
    Fine-tune PDF output for various use cases including print, web, or archival by using the PdfOptimizationOptions class.
  • UI and Backend Improvements:
    Enhanced API support for retrieving view metadata makes PDF workflows more intelligent and adaptable.

Bug Fixes

  • Memory Usage and Stability Fixes:
    Resolved memory leaks and high consumption during rendering DOCX to PNG and spreadsheet thumbnails.
  • Rendering Accuracy Fixes:
    Fixed issues with character/image positioning in DOCX, incorrect EPS to JPG conversion, and 3D text rendering in Linux.
  • Format Support Fixes:
    Addressed errors related to viewing PST, PSD, ODS, DWF, EPUB, and password-protected 7z files.
  • UI and UX Fixes:
    Prevented full-document hyperlink errors in PDFs and resolved problems with empty <title> tags and temp file creation from dependencies.

Public API and Backward Incompatible Changes

  • New API: PdfOptimizationOptions:
    Replaces older PDF quality and optimization settings with fine-grained control over linearization, font subsetting, image resolution, and annotation removal.
  • New Method: getViewInfo(ViewInfoOptions.forPdfView()):
    Allows fetching document metrics like page sizes before final rendering.
  • Deprecated API:
    • PdfViewOptions#setJpgQuality(int) → Use PdfOptimizationOptions#setImageQuality(int)
    • PdfViewOptions#setOptimize(boolean) → Use PdfOptimizationOptions#setOptimizeSpreadsheets(boolean)

🔍 Explore the Full Release Details

For full list of updates, please visit GroupDocs.Viewer for Java 24.4 Release Notes.

VersionRelease Date
25.2March 4, 2025
24.12December 30, 2024
24.10October 31, 2024
24.8August 29, 2024
24.6June 28, 2024
24.4May 1, 2024
24.2February 29, 2024
23.11November 30, 2023
23.7July 14, 2023
23.4April 21, 2023
23.2February 1, 2023
22.12December 12, 2022
22.9September 20, 2022
3.2.2January 25, 2022
3.2.0January 25, 2022
21.4January 25, 2022
21.11.1January 25, 2022
2.9.0January 25, 2022
2.6.0January 25, 2022
2.5.0January 25, 2022
2.4.1January 25, 2022
2.3.0January 25, 2022
2.2.0January 25, 2022
2.13.0January 25, 2022
19.8January 25, 2022
19.8.2January 25, 2022
19.8.1January 25, 2022
19.1January 25, 2022
17.5.1January 25, 2022
21.11November 24, 2021
21.2February 26, 2021
20.7July 24, 2020
20.1.1June 9, 2020
20.1January 31, 2020
19.11November 22, 2019
19.3March 29, 2019
17.5.0April 19, 2018
17.2.0April 19, 2018
3.7.0April 19, 2018
3.2.1April 19, 2018
3.0.0April 19, 2018
2.14.0April 19, 2018
2.12.0April 19, 2018
2.11.0April 19, 2018
2.10.0April 19, 2018
2.9.1April 19, 2018
2.8.0April 19, 2018
2.7.0April 19, 2018
2.4.0April 19, 2018