We are using Aspose.Network & Aspose.Words to convert msg files to tif images.
We have been using Aspose.Network.dll (188.8.131.52) & Aspose.Words.dll (184.108.40.206) for above task.
Attached Outlook.msg should generate 2 tif images when below code is ran but it instead generates 8 tif images.
Outlook.msg contains table which gets screwed during execution of below code.
static void Main(string args)
Aspose.Network.License licenseNetwork = new Aspose.Network.License();
Aspose.Words.License licenseWords = new Aspose.Words.License();
MapiMessage msg = MapiMessage.FromFile("Outlook.msg");
using (MemoryStream rtfStream = new MemoryStream())
TextWriter tw = new StreamWriter(rtfStream);
Document doc = new Document(rtfStream);
ImageOptions imgOptions = new ImageOptions();
imgOptions.Resolution = (float)200;
imgOptions.TiffCompression = TiffCompression.Ccitt4;
for (int i = 0; i < doc.PageCount; i++)
doc.SaveToImage(i, 1, "image" + i.ToString() + ".tif", imgOptions);
This issue was reported from our customer as critical issue that must be fixed ASAP.
It is being used in production environment and fix is urgent.
Please provide us with an ETA for a fix so that we can tell our customer.