Aspose word distort the images

Hi All,

While reading high definition image from word file images are getting distorted. This eventually creates problem while exporting same file back.
Please help me to resolve this issue.

Have a look on below code that i have written,

  using (MemoryStream MemoryStream = new MemoryStream())
                        AW.Saving.HtmlSaveOptions HtmlSaveOptions = new AW.Saving.HtmlSaveOptions(AW.SaveFormat.Html);
                        HtmlSaveOptions.ExportImagesAsBase64 = true;
                        Document.Save(MemoryStream, HtmlSaveOptions);
                        MemoryStream.Position = 0;
                        using (var StreamReader = new StreamReader(MemoryStream))
                            strValue = StreamReader.ReadToEnd();


Thanks for your inquiry. We will appreciate it if you please share your input and output documents here. We will look into these and will guide you accordingly.

Please find attached documents here, (1.1 MB) (563.3 KB)

Thank you.


Thanks for sharing your sample documents. We have converted your source Word document to HTML and also extracted the images from the source document using Aspose.Words for .NET 17.7. We are unable to notice distorted images issue in both cases. If you are using some old version of Aspose.Words then please download and try latest version of Aspose.Words for .NET, hopefully it will resolve the issue.

However if the issue persists then please create a standalone console application (source code without compilation errors) and share as ZIP file, that helps us to reproduce your problem on our end.

Thanks for the information. Yes we are using old version that is We will try with latest version and update you for any issue.

Thank You.