Hello,
I also tried with the latest version of Spire.Doc - 8.3.0.4046.
Steps to reproduce:
1. Open sample data\original file\PNG with transparency.docx with Word and save it as Web Page, Filtered. The resulting html is ok.
PNG with transparency_files contains two
PNG files.
2. Use the following code to open and save the same file somewhere (in my example
saved with spire):
- Code: Select all
using (var document = new Spire.Doc.Document())
{
document.LoadFromFile(file);
using (var d = document.Clone())
{
d.ViewSetup.DocumentViewType = DocumentViewType.PrintLayout;
d.SaveToFile(resultFile);
}
}
3. Open the saved document with Word and save it as Web Page, Filtered. The resulting html is not ok. The first image is ugly.
PNG with transparency_files contains two
GIF files.
Regards
Login to view the files attached to this post.