Free Support Forum - aspose.cloud

Convert HTML with images to PDF


#1

The documentation is clear on how to use Aspose.Pdf Cloud to convert an HTML document to PDF.


However, it does not explain how to convert an HTML file that contains images to PDF. Do the images have to be uploaded to Storage in the same folder as the HTML file? Is there an example of how to do this available anywhere?



#2

This example is close. Do I just need to upload the images also?


https://github.com/aspose-pdf/Aspose.Pdf-for-Cloud/blob/master/Examples/Python/Examples/CreatePDFFromHTML.py

#3

Hi David,


Thank you for your inquiry and sharing details.


I am afraid currently Aspose.Pdf for Cloud API does not provide “Convert HTML with images to PDF” functionality. I have logged an enhancement ticket in our issue tracking system as PDFCLOUD-48. We will further look into the details of this enhancement and will keep you updated on the status of its implementation.


Currently create PDF from HTML feature only work with HTML without images.


You will be notified via this forum thread once this feature is added in our new release.


If you have any further questions, please feel free to share.


Thanks,



Naeem Akram
Aspose - File Format APIs.

Got a Complaint? File it!

Keep in touch! We're on
Twitter and Facebook


#4

I just tried to convert html to PDF with images. No dice. Is there any progress on this feature request ? Thanks.


#5

@timn4c,

Thanks for contacting support.

I am afraid the earlier logged feature request is not yet implemented. The product team will start investigating this requirement as per their schedule and as soon as we have some definite updates regarding its implementation, we will let you know.

We are sorry for this delay and inconvenience.