Hello,
we are using the aspose pdf for java to convert html to pdf in our product. One of our customers is complaining that an image does not appear in the output pdf. The source of the image is an https link to the image file < img src=“https://…/logo.png” /> I tried to save the image to a file and use a relative path to the file, and the image appears in the output pdf, no problems.
I am attaching the source html with the problem image to the topic. What can be wrong with the image when its source is the provided link? I had had several reports about missing other images when their sources are https links so I thought there may be issues with https links but I cannot reproduce the problem with those images after upgrading to the 21.8 aspose version.
The html displays the image correctly.
Input html: input.zip
The code used to convert html to pdf:
HtmlLoadOptions options = new HtmlLoadOptions();
IDocument document = new Document("input.html", options);
document.save("output.pdf");
Thank you
Arjana Bivainiene