We have learned that when saving a document to PDF, linked images are showing up blank. We tracked this down to Aspose.Words grabbing the linked image using TLS 1.0. Since TLS 1.0 is outdated and insecure, our servers are set to use TLS 1.2 only.
Here is my code snippet:
For Each shape In doc.GetChildNodes(NodeType.Shape, True)
If shape.ImageData.SourceFullName = "https://www.myserver.com/images/suspectphoto.jpg" Then
shape.ImageData.SourceFullName = imgFileSuspectPhoto
End If
Next
My questions are as follows:
- Is is possible to change how Aspose.Words grabs the link image to use TLS 1.2 or higher?
- Is there any other work around for this issue?
Thanks,
Brian