PHP Classes

What is the best PHP html to image class?: HTML to image

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP html to image cl...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP html to image class?

Edit

Picture of rushi by rushi - 9 years ago (2015-10-16)

HTML to image

This request is clear and relevant.
This request is not clear or is not relevant.

+5

I want to convert from HTML source code to image in PHP and store that image for further process.

  • 1 Clarification request
  • 1. Picture of Dave Smith by Dave Smith - 9 years ago (2015-10-16) Reply

    Do you want an image of the markup or the result that a browser would display?

    Ask clarification

    1 Recommendation

    WebThumbnail: Capture a screenshot of a page using WebThumbnail

    This class can capture a screenshot of a page using WebThumbnail.

    It can send a HTTP request to the WebThumbnail API Web server to request the capture of a screenshot of a given URL.

    The service will queue the request to capture the specified page screenshot using one of the supported browsers: Firefox, Google Chrome or Opera.

    The screenshot image may be capture with sizes between 70 by 70 and 2048 by 4096 pixels.

    The class polls the capture server to determine when the screenshot is ready to download.

    The retrieved screenshot image can be copied to a local file or served for download as the current script output in the PNG, JPEG or GIF formats.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +2

    Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 9 years ago (2015-11-06) Comment

    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.


    Recommend package
    : 
    :