|All requests||>||What is the best PHP html to image cl...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by rushi - 3 years ago (2015-10-16)
I want to convert from HTML source code to image in PHP and store that image for further process.
1. by Dave Smith - 3 years ago (2015-10-16) Reply
Do you want an image of the markup or the result that a browser would display?
There are some solutions that depend on specific browsers or extensions.
This class relies on a Web service to capture a screenshot of a public page and even lets you pick the browser that will be used to render the page.
If you want to render a private Web page or a HTML generated dynamically, you can provide a URL of a page that will serve that HTML or the contents of the private Web page maybe using secret temporary password, so the service can fetch the page HTML.