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

sure @asad.ali, please find the snapshots for your further analysis.

  1. MSG converted to MHT (Input)
    image.jpg (201.5 KB)
    Output
    India Culture_Output.pdf (39.9 KB)
  2. INPUT
    image.png (147.2 KB)
    OUTPUT
    Regarding Text and images_Output.pdf (111.1 KB)
    3 INPUT
    image.png (135.4 KB)

OUTPUT
LooseMessage_Output.pdf (128.5 KB)

Let me know if any other details needed.

Thank you

@Ghani0303

It looks strange because when we are opening your .mht file in web browser, they are not showing images. In fact, they are being rendered same as the API is generating PDF files from them.
image.png (53.8 KB)

No sure what happened, but when the input file is opened i can see the embedded images but when imaged those are missing.

@Ghani0303

Can you please share what OS are you using and which version of the browser you have?

Please find the requested details
OS details - Windows 11
image.png (18.1 KB)

Microsoft Edge browser
Version 131.0.2903.146 (Official build) (64-bit)
image.png (132.2 KB)

@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.