|All requests||>||What is the best PHP HTML text to ima...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Uday - 4 years ago (2014-12-22)
I would like to render a given HTML code as an image.
1. by Gerry Danen - 4 years ago (2014-12-26) Reply
Please give an example of what you like to do.
2. by Bordeux - 4 years ago (2014-12-26) in reply to comment 1 by Gerry Danen Comment
Doing this in pure PHP is hard. I am not sure if there are good solutions for this.
What you can do is to use this package like this to call a Web API that can capture images of Web pages.
Then you create a page that serves the HTML that you want to render as image and pass the URL of that page to the API class.