Browse our Products
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-html</artifactId>
<version>24.12</version>
</dependency>
compile(group: 'com.aspose', name: 'aspose-html', version: '24.12')
<dependency org="com.aspose" name="aspose-html" rev="24.12">
<artifact name="aspose-html" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-html" % "24.12"
What’s new in the Aspose.HTML for Java 24.12
Release Highlights
Aspose.HTML for Java 24.12 focuses on API usability and MHTML conversion stability. This release introduces java.io.OutputStream
support across HTML, EPUB, SVG, and MHTML conversion methods, enabling more flexible stream-based document generation. Additionally, a key bug in MHTML-to-JPG conversion was resolved.
Bug Fixes
- HTMLJAVA-1896
FixedAn element with the same key already exists in the dictionary
during MHTML to JPG conversion.
Public API and Backward Incompatible Changes
✅ New Features
Added
OutputStream
support to all conversion methods incom.aspose.html.converters.Converter
, including:convertHTML
,convertEPUB
,convertMHTML
,convertSVG
- Overloads accepting
InputStream
,String path
,Url
, orHTMLDocument
sources - Accepting all supported save options:
PdfSaveOptions
,DocSaveOptions
,XpsSaveOptions
,ImageSaveOptions
Added new classes:
com.aspose.html.io.SeekOrigin
com.aspose.html.SmoothingMode
com.aspose.html.StringSplitOptions
com.aspose.html.net.HttpStatusCode
🛠 Renamed Classes and Interfaces
ICreateStreamProvider
→ICreateOutputStreamProvider
FileCreateStreamProvider
→FileCreateOutputStreamProvider
- Method
getStream(...)
→getOutputStream(...)
in relevant interfaces
🔁 Updated Classes and Constructors
- All rendering devices (
DocDevice
,PdfDevice
,XpsDevice
,ImageDevice
) updated to useOutputStream
orICreateOutputStreamProvider
instead ofStream
OutputStream
methods now implementjava.io.Closeable
for resource management
🔍 Explore the Full Release Details
For full list of updates, please visit Aspose.HTML for Java 24.12 Release Notes
outputstream conversion
| mhtml to jpg
| html to pdf
| stream provider
| aspose html java
Version | Release Date |
---|---|
25.7 | July 7, 2025 |
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-24.12-javadoc.jar | javadoc | 2 MB |
aspose-html-24.12-jdk1.8.jar | jdk1.8 | 32 MB |
aspose-html-24.12-jdk11.jar | jdk11 | 32 MB |
aspose-html-24.12-jdk17.jar | jdk17 | 32 MB |
aspose-html-24.12-jdk21.jar | jdk21 | 32 MB |
aspose-html-24.12-jdk8.jar | jdk8 | 32 MB |
aspose-html-24.12.jar | 32 MB | |
aspose-html-24.12.pom | 424 bytes | |
aspose-html-24.12.zip | 171 MB |