Below files are MSGs converted to mht and then converted to pdf using Aspose 24.12. The original msg and converted mht files contain embedded images. But the converted pdf file does not show embedded images.
Below ae the sample files
input_msg_to_mhtml_to_pdf_aspose-html-24_12_2.zip (67.5 KB)
It seems that you are experiencing an issue where embedded images in MSG and MHT files are not appearing in the converted PDF file when using Aspose.HTML version 24.12.2. Unfortunately, the provided context does not contain specific troubleshooting steps or solutions for this particular issue.
However, I recommend checking the following potential solutions:
-
Ensure Image Embedding: Verify that the images are correctly embedded in the MHT file. Sometimes, images may not be properly linked or embedded, which can lead to them not being rendered in the PDF.
-
Check Conversion Settings: Review the conversion settings you are using when converting from MHT to PDF. There may be options that affect how images are handled during the conversion process.
-
Update to Latest Version: If possible, consider updating to the latest version of Aspose.HTML, as newer versions may contain bug fixes or improvements related to image handling.
-
Consult Documentation: Refer to the official Aspose.HTML documentation for any specific notes regarding image handling during conversions. The FAQ section may also provide insights into common issues and their resolutions.
If these suggestions do not resolve your issue, I recommend posting your question in the Aspose support forum with detailed information about your implementation and the specific steps you are taking. This will help the community provide more targeted assistance.
For further assistance, you can explore the following resources:
Feel free to reach out if you have any more questions!
Checking on the response and will revert back with the findings
We checked your files by opening them in Web Browser and they don’t show any images. Can you please share your expected PDF files and how these .mht files are viewed at your end (screenshots).
sure @asad.ali, please find the snapshots for your further analysis.
- MSG converted to MHT (Input)
image.jpg (201.5 KB)
Output
India Culture_Output.pdf (39.9 KB) - 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
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.
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)
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.
Can you help us with the targeted release in which this issue will be fixed?
Issue ID(s): HTMLJAVA-6045
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)
Can you please also share which code snippet are you using to convert these .msg files to PDF?
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
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.
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.