Javascript in Html To Pdf

IronPDF allows users to directly embed images into PDFs by allowing them to be directly embedded into HTML strings rather than loaded as external assets:

  • Image Files
  • System.Drawing.Image
  • System.Drawing.Bitmap
This is useful to avoid loading external assets during HTML to PDF rendering. It can improve speed and allow entire render jobs to be stored in non file-system locations such as strings or databases.