Html to PDF - missing images

Hi,
as I converted a html file into PDF, the images are missing from the output. I do the same as you suppose here:
https://help.syncfusion.com/file-formats/pdf/converting-html-to-pdf
I have attached the input HTML file and the output.

Attachment: Syncfusion_13ec7727.zip

1 Reply

GK Gowthamraj Kumar Syncfusion Team December 8, 2020 01:32 PM UTC

Hi David, 

Thank you for using Syncfusion products. 

We have checked the conversion with provided HTML file and all the images are properly preserved in PDF document. The reported image missing issue may occurs due to missing of OPENSSL assemblies. Some images are access from HTTPS URL, to access the resource from HTTPS site, the HTML converter requires OPENSSL assemblies. So, please make sure the OPENSSL assemblies are available in the machine where the conversion takes place. Please refer below links for more details,  
 
However, the below mentioned OPENSSL assemblies can be placed in the Windows system folder of the machine. (for 64-bit machine, it should be place in $SystemDrive\Windows\SysWOW64 and for 32-bit machine, it should be place in $SystemDrive\Windows\System32).  
  • libeay32.dll
  • libssl32.dll
  • ssleay32.dll
 
If still you are facing the same issue, then kindly try the additional delay to the converter for loading the external resources (styles, scripts, images etc.,). Can you please try the conversion with additional delay and let us know the result. Please refer below code snippet for set the Additional Delay property to converter settings, 

//Set additional delay; units in milliseconds 
Settings.AdditionalDelay = 2000; 
 
Please refer the below links for more information about Additional delay, 

We have shared the output PDF document for your reference.  

Please try the above suggestions and if still the same issue occurs, kindly provide more details such as complete code snippet, environment details(OS, Bit version, culture settings, RAM etc.,) to reproduced the issue in our end. So, that it will be helpful for us to analyze and assist you further on this. 

Regards, 
Gowthamraj K 


Loader.
Up arrow icon