I am trying to give the image and converting that html file into word - <img src=“https://upload.wikimedia.org/wikipedia/commons/6/6b/Taka_Shiba.jpg” alt="" width=“195” height=“146” data-max-width=“501”>
var doc = new Document(@".\CN_6835.htm");
doc.Save(@".\out.docx");
Resultant word file is missing the above image given as input to ASPOSE.
We have closed the issue WORDSNET-21287 as ‘Not a bug’. We have tested the scenario using the latest version of Aspose.Words for .NET 20.11 and have not found the shared issue. So, please use Aspose.Words for .NET 20.11. The ‘Taka_Shiba.jpg’ is the image of dog and it is visible in the output DOCX. Please check the attached output document. 20.11.zip (637.0 KB)
Hi,
Just upgraded the ASPOSE to 20.12 and tested the same, still able to replicate the problem.
Our application targets the Dotnet Framework 4.5.2.
Note: Framework are not upgraded as it affects many of our clients base.
Please look into this.
I have created a console application targeting the dotnet framework 4.5.2, added a reference of ASPOSE.WORDS version 20.12.0 and ran the same code to convert HTML file Docx including external image.
var doc = new Document(@"..\..\CN_5817.htm");
doc.Save(@"..\..\CN_5817.docx");
When the same html is converted to docx, i can still see the image is not saved in docx with the upgraded ASPOSE.
We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-21583. You will be notified via this forum thread once this issue is resolved.
It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-21583) as ‘Not a Bug’.
Source HTML contains a reference to an image with secure URL:
The server that hosts the image uses a newer version of TLS that is not supported by the .NET Framework version that is installed on your machine. The following article might help you to resolve the issue.