PHP Classes
elePHPant
Icontem

What is the best PHP HTML text to image conversion class?: Convert HTML text to image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  What is the best PHP HTML text to image conversion class?  >  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 text to image conversion class?

Edit

Picture of Uday by Uday - 1 year ago (2014-12-22)

Convert HTML text to image

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

0

I would like to render a given HTML code as an image.

  • 1 Clarification request
  • 1. Picture of Gerry Danen by Gerry Danen - 1 year ago (2014-12-26) Reply

    Please give an example of what you like to do.

    • 2. Picture of Bordeux by Bordeux - 1 year ago (2014-12-26) in reply to comment 1 by Gerry Danen Comment

      In clear PHP is too hard to write HTML renderer. You can use webkit.js -> trevorlinton.github.io in JavaScript, or use phantomJS in server side.

Ask clarification

1 Recommendation

WebThumbnail: Capture a screenshot of a page using WebThumbnail

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 11100 - 1 year ago (2014-12-26) 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.


Recommend package
: 
: