MHT imaging using aspose.html v24.12.2, . The original msg and converted mht files contain embedded images. But the converted pdf file does not show embedded images

@Ghani0303

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): HTMLJAVA-1998

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

Can you help us with the targeted release in which this issue will be fixed?
Issue ID(s): HTMLJAVA-6045

@Ghani0303

The issue has recently been logged in our issue management system and it will be investigated/resolved on a first come first serve basis. As soon as we have some information about ticket resolution, we will inform you via this forum thread. Please be patient and spare us some time.

We are sorry for the inconvenience.

i have attached the msg files which can be used to convert to MHT .
When this MHT file is converted to PDF , we did not receive the expected result

msgfilesToBeConvertedtoMHT.zip (81.5 KB)

@Ghani0303 @asad.ali

@divine1

Can you please also share which code snippet are you using to convert these .msg files to PDF?

@asad.ali as we explained over the call, our requirement is not to convert .msg to .pdf.

@divine1

We are afraid that we may not get the reference of call or your requirements. Are you with @Ghani0303 ? If your requirements are to convert MHT to PDF, please share MHT files with us which are creating issue at your end. If you are converting MSG files to MHT before using Aspose.HTML, please share the steps so that we can perform them to replicate the issue in our environment and address it accordingly.

@asad.ali
if you want MHT files, those files are attached in the question posted by Gani0303 on Dec’2024. These mht files are converted from msg files.

During the call with aspose team , it was discussed that transferring mht files over the network causes issues with mht files which contains embedded images. Hence aspose team requested for msg files so that it can be converted to mht by aspose team and then proceed further with investigation. Hence, we have shared msg files .

we converted msg to mht using aspose-email:24.10

@divine1

Thanks for providing this information. We have updated the ticket information by attaching .msg files to it. MHT files provided by @Ghani0303 are already attached to the ticket. As soon as we have some updates to share, we will inform you. Please spare us some time.

We are sorry for the inconvenience.

any update on this @asad.ali ?

@Ghani0303

The issue is under the phase of the investigation and is not yet resolved. As soon as we have some definite updates about its resolution, we will inform you. Please be patient and spare us some time.

We are sorry for the inconvenience.

1 Like

@Ghani0303

Would you kindly try using 25.2 version of the API and let us know if you still face any issues?

Sure, let our team to check with the 25.2 version.

the reported issue is not fixed yet in the latest version of aspose-html. below are the info.

Language: java 21

library

aspose-html 25.2.2

mht input filenames

Regarding Text and images.mht
output_T1.PC.00001434.mht
input-1.zip (201.0 KB)

description

output pdf doesnot contain embedded images.

@divine1

The ticket is still opened and it is under the phase of investigation. The information has been updated accordingly and we will surely inform you as soon as it is resolved. Please spare us some time.

We apologize for the inconvenience.

i retested the issue posted in the comment posted in below link using aspose-html 25.3 . the issue is not fixed

@divine1

The issue is in progress and its fix will be released in 25.4 version of the API.

The issues you have found earlier (filed as HTMLJAVA-1998) have been fixed in this update. This message was posted using Bugs notification tool by pavel.terechshenkov

this comment is reponse to the comment posted in this thread . i used the input files in this comment for testing.

i tested with below version

<dependency>
            <groupId>com.aspose</groupId>
            <artifactId>aspose-html</artifactId>
            <version>25.5</version>
            <classifier>jdk21</classifier>
        </dependency>

i dont see expected result for this file. the embedded image present in input .mht file is missing in output .pdf file.
output_T1.PC.00001434.pdf (61.5 KB)

i can see expected result in below file. i can view the embedded image present in input .mht file within the output .pdf file.
Regarding Text and images.pdf (1.4 MB)

@divine1

Please allow us to check again and we will get back to you when we have some feedback to share.