Not sure if this is a Aspose.Network or Aspose.Words problem.
When we convert an e-mail message to TIF we sometimes get a lot of ‘extra’ XML in the first page of the TIF.
Our steps for this coversion are:
Acquire the e-mail message (in the included sample we just read it from a .msg file)
Save the message in MHTML format
Read the MHTML back as an Aspose.Words Document object
Loop over the pages and save each as a TIF image.
Attached is sample code, and 2 message files. The files are virtually identical, but when the first one renders we get the XML at the top of the first page, we don’t see the xml with the second one.
Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words (9.4.0) and Aspose.Network (5.6.0). Please try using the following code and let me know how it goes on your side: