php - how to convert content between two html elements into image? -


I want to convert html content to image, is it possible?

  & lt; Div class = 'temporary' & gt; & Lt; Img class = 'tt' & gt; & Lt; Div & gt; & Lt; Img class = 'tt1' / & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

I want to save the entire div (class = 'temp') as an image with my content.

You will need some type of HTML render engine, this usually means that WebKit To run some porting and drag it to bitmap. Not in any way trivial

In fact, you need more information about what you are actually trying to do (i.e., this is your own HTML or arbitrary web site, it is PHP code by server or via javascript [is not possible]. Do you want to use a thumbnail service, etc.)


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -