Browse our Products
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-html</artifactId>
<version>25.4</version>
</dependency>
compile(group: 'com.aspose', name: 'aspose-html', version: '25.4')
<dependency org="com.aspose" name="aspose-html" rev="25.4">
<artifact name="aspose-html" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-html" % "25.4"
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
inConverter.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()
MethodsValidationResult.saveTo(java.io.Writer writer)
ValidationResult.saveTo(java.io.Writer writer, int format)
Java Native Support
Content
now implementsjava.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
Version | Release Date |
---|---|
25.6 | June 20, 2025 |
25.5 | May 10, 2025 |
25.4 | April 7, 2025 |
25.3 | March 3, 2025 |
25.2.2 | February 14, 2025 |
25.2.1 | February 13, 2025 |
25.2 | February 3, 2025 |
25.1 | January 27, 2025 |
24.12.2 | December 16, 2024 |
24.12.1 | December 15, 2024 |
24.12 | December 15, 2024 |
24.11 | November 2, 2024 |
24.10 | October 1, 2024 |
24.9 | September 5, 2024 |
24.8 | August 8, 2024 |
24.7 | July 7, 2024 |
24.6 | June 21, 2024 |
24.5 | June 4, 2024 |
24.4 | April 4, 2024 |
24.3 | March 22, 2024 |
24.2 | February 15, 2024 |
24.1 | January 24, 2024 |
23.12 | December 30, 2023 |
23.11 | November 30, 2023 |
23.10 | October 30, 2023 |
23.8 | August 3, 2023 |
23.5.1 | May 15, 2023 |
23.5 | May 3, 2023 |
23.4 | April 26, 2023 |
23.1 | January 16, 2023 |
22.9 | September 20, 2022 |
22.8 | August 30, 2022 |
22.7 | July 20, 2022 |
21.12 | January 16, 2022 |
21.6 | July 1, 2021 |
21.5 | May 31, 2021 |
21.4 | May 2, 2021 |
21.3 | April 1, 2021 |
20.12 | December 27, 2020 |
20.9.1 | October 6, 2020 |
20.8 | August 30, 2020 |
20.6 | June 26, 2020 |
19.9 | September 25, 2019 |
19.8 | August 27, 2019 |
19.7 | July 29, 2019 |
19.6 | June 5, 2019 |
19.5 | May 16, 2019 |
19.4 | April 21, 2019 |
19.3 | March 28, 2019 |
18.11.1 | November 21, 2018 |
18.11 | November 20, 2018 |
18.10.2 | October 30, 2018 |
18.10.1 | October 26, 2018 |
18.10 | October 19, 2018 |
18.8 | August 15, 2018 |
18.6 | July 23, 2018 |
18.5.1 | June 19, 2018 |
18.5 | June 1, 2018 |
17.12 | February 7, 2018 |
17.11.1 | December 19, 2017 |
17.11 | November 29, 2017 |
17.10 | November 1, 2017 |
17.9 | September 29, 2017 |
17.8 | August 29, 2017 |
File | Classifier | Size |
---|---|---|
aspose-html-25.4-javadoc.jar | javadoc | 2 MB |
aspose-html-25.4-jdk1.8.jar | jdk1.8 | 32 MB |
aspose-html-25.4-jdk11.jar | jdk11 | 32 MB |
aspose-html-25.4-jdk17.jar | jdk17 | 32 MB |
aspose-html-25.4-jdk21.jar | jdk21 | 32 MB |
aspose-html-25.4-jdk8.jar | jdk8 | 32 MB |
aspose-html-25.4.jar | 32 MB | |
aspose-html-25.4.pom | 423 bytes | |
aspose-html-25.4.zip | 173 MB |