Free Support Forum - aspose.com

Html to jpeg conversion

Hi, i have tried to convert from HTML to jpeg but using word REST api html is not recognized as source. Is there any other way to do it?


Submitted from: http://saaspose.com/api/words/features

Hi Martin,

You can use Saaspose.Pdf API for this purpose, you can use 'document' resource to create a PDF from HTML and use 'splitDocument' resource to convert all or specific pages of that PDF to JPEG as you can see in the following API pages

http://saaspose.com/docs/display/pdf/document
http://saaspose.com/docs/display/pdf/splitDocument+%28Controller+Resource%29

Following are the PHP REST examples:

http://saaspose.com/docs/display/pdf/Create+PDFs+from+HTML+Templates+%28PHP+REST%29
http://saaspose.com/docs/display/pdf/Split+PDF+files+%28PHP+REST%29

Please share you development platform and we will provide more specific examples for you.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Martin,

Did you try the examples shared by our support team? How did it go for you? Are you good to move forward with HTML to JPEG conversion feature, or other features for that matter? If you still need any help from our side, please do let us know. We're looking forward to help you.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.