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

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)

@Ghani0303

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:

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

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

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

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

@Ghani0303

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.

  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?