Convert HTML-file to PDF (PDFServicesSDK). | Community
Skip to main content
September 25, 2023
Question

Convert HTML-file to PDF (PDFServicesSDK).

  • September 25, 2023
  • 1 reply
  • 768 views

Hi. I have a simple html file with picture. Picture located in the same folder as html-file. But when I try to convert with PDFServicesSDK to pdf file - result file without that picture. Maybe I should set additional options ? Thanks.

 

This is code html-file (for example) : 

<html>
<body>
<img src="./picture_1.jpg">
<span style="font-weight:bold; text-transform:uppercase; font-size : 6.400pt">"Some text in HTML file</span>
</body>
</html>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
March 12, 2025

@kuzubmk Did you check this? There seems to be a particular structure that the html page and its respective artifacts needs to be placed within a folder.