Hi, WMF images that we extract from docx files are blurred when we extract then one at a time. For example using the following code.
// DrawingML drawNode
drawNode.GetShapeRenderer().Save(fullPath, new ImageSaveOptions(SaveFormat.Png));
// Shape shapeNode
shapeNode.GetShapeRenderer().Save(fullPath, new ImageSaveOptions(SaveFormat.Png));
However, when we convert the docx file to Html the images are extracted without blurring. Using the following.
Document doc = new Document(@"C:\Projects\convertToHtml\image only.docx");
HtmlSaveOptions so = new HtmlSaveOptions(SaveFormat.Html);
doc.Save(@"C:\Projects\convertToHtml\image only.html", so);
How can we get images extracted without blurring using the GetShapeRenderer().Save method?
I have attached the relevant files in a zip.