Jump to content

HTML to Image


summericeweb

Recommended Posts

[!--sizeo:3--][span style=\"font-size:12pt;line-height:100%\"][!--/sizeo--]How do you convert a HTML page to an image?[!--sizec--][/span][!--/sizec--]

[!--sizeo:2--][span style=\"font-size:10pt;line-height:100%\"][!--/sizeo--]PNG, JPG, or GIF?[!--sizec--][/span][!--/sizec--]

Dose anyone know how to do this?

It is done on [a href=\"http://www.hotfreelayouts.com\" target=\"_blank\"]http://www.hotfreelayouts.com[/a]
Link to comment
https://forums.phpfreaks.com/topic/7021-html-to-image/
Share on other sites

Well the sledge-hammer approach would be...

1. convert html to pdf using ... [a href=\"http://www.tufat.com/s_html2ps_html2pdf.htm\" target=\"_blank\"]http://www.tufat.com/s_html2ps_html2pdf.htm[/a]

2. convert pdf to jpg using ... [a href=\"http://redux.imagemagick.org/discussion-server/viewtopic.php?t=5242&sid=c3d14c53b20d9fa4ff22ae533c851d4f\" target=\"_blank\"]http://redux.imagemagick.org/discussion-se...f22ae533c851d4f[/a]

not the cleanest approach but should work til a more elegant solution is presented.


Lite...
Link to comment
https://forums.phpfreaks.com/topic/7021-html-to-image/#findComment-25553
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.