Browse our Products

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

What’s new in the Aspose.HTML for Java 25.4

Release Highlights

Aspose.HTML for Java 25.4 introduces major performance improvements and API enhancements. Rendering execution time is now up to 70% faster with average gains of 28%, while memory usage has also been reduced. This release adds support for native Java types including java.io.Writer, java.io.InputStream, and java.io.Closeable, and resolves numerous conversion and rendering bugs.

Bug Fixes

  • HTMLJAVA-1412 – Fixed HTML to DOCX conversion issue
  • HTMLJAVA-2004 – Fixed MHT to PDF conversion error (“element already exists”)
  • HTMLJAVA-1157 – Resolved NullPointerException during HTML to JPG on CentOS
  • HTMLJAVA-1853 – Fixed missing image issue in HTML to image conversion
  • HTMLJAVA-803 – Corrected discrepancies between Java API and online HTML to PDF output
  • HTMLJAVA-1859 – Fixed infinite loop during HTML to PNG conversion
  • HTMLJAVA-1998 – Resolved image rendering issues in MHT conversion (also improved performance)
  • HTMLJAVA-1715 – Optimized HTML to PDF conversion time
  • HTMLJAVA-1204 – Reduced execution time to 67ms

Additional Improvements

  • HTMLJAVA-1259 – Fixed ClassCastException in Converter.convertHTML() and restored missing images
  • HTMLJAVA-1448 – Resolved font name table exception in HTML to PDF (restored image output)
  • HTMLJAVA-1646 – Fixed NullPointerException and image loss in PDF conversion
  • HTMLJAVA-806 – Improved performance and restored missing images in slow HTML to PDF conversions

Public API and Backward Incompatible Changes

✅ Added Features

  • New Save Formats in Accessibility Module
    ValidationResultSaveFormat enum:

    • Text = 0, JSON = 1, XML = 2
  • New saveTo() Methods
    ValidationResult.saveTo(java.io.Writer writer)
    ValidationResult.saveTo(java.io.Writer writer, int format)

  • Java Native Support

    • Content now implements java.io.Closeable
    • New constructor: StreamContent(InputStream content)

🔍 Explore the Full Release Details

For full list of updates, please visit Aspose.HTML for Java 25.4 Release Notes


html rendering | java writer | html to docx | image conversion | html performance

VersionRelease Date
25.6June 20, 2025
25.5May 10, 2025
25.4April 7, 2025
25.3March 3, 2025
25.2.2February 14, 2025
25.2.1February 13, 2025
25.2February 3, 2025
25.1January 27, 2025
24.12.2December 16, 2024
24.12.1December 15, 2024
24.12December 15, 2024
24.11November 2, 2024
24.10October 1, 2024
24.9September 5, 2024
24.8August 8, 2024
24.7July 7, 2024
24.6June 21, 2024
24.5June 4, 2024
24.4April 4, 2024
24.3March 22, 2024
24.2February 15, 2024
24.1January 24, 2024
23.12December 30, 2023
23.11November 30, 2023
23.10October 30, 2023
23.8August 3, 2023
23.5.1May 15, 2023
23.5May 3, 2023
23.4April 26, 2023
23.1January 16, 2023
22.9September 20, 2022
22.8August 30, 2022
22.7July 20, 2022
21.12January 16, 2022
21.6July 1, 2021
21.5May 31, 2021
21.4May 2, 2021
21.3April 1, 2021
20.12December 27, 2020
20.9.1October 6, 2020
20.8August 30, 2020
20.6June 26, 2020
19.9September 25, 2019
19.8August 27, 2019
19.7July 29, 2019
19.6June 5, 2019
19.5May 16, 2019
19.4April 21, 2019
19.3March 28, 2019
18.11.1November 21, 2018
18.11November 20, 2018
18.10.2October 30, 2018
18.10.1October 26, 2018
18.10October 19, 2018
18.8August 15, 2018
18.6July 23, 2018
18.5.1June 19, 2018
18.5June 1, 2018
17.12February 7, 2018
17.11.1December 19, 2017
17.11November 29, 2017
17.10November 1, 2017
17.9September 29, 2017
17.8August 29, 2017