Jump to content

Looking to convert a webpage to an image


tibberous

Recommended Posts

I'm pretty sure I've seen this done, no idea how to do it. Is there some way I can take a webpage and convert it into an image? I imagine the only way to do it would be to render the html, load external files, and convert the output to an image.

 

Anyone know how to do this? It almost seems like it would have to be an addon library.

 

Thanks

 

I found a site that does it but they only sell it as a service, and are really slow otherwise, and it still doesn't work that great =/

 

It's kinda neat neat: http://html2pdf.biz/api?url=http://www.gangsters.cc&ret=png

 

I'm making a demo for a company, maybe they'll pay $110/year for the service?

Link to comment
https://forums.phpfreaks.com/topic/61934-looking-to-convert-a-webpage-to-an-image/
Share on other sites

just do a print screen and use a image editor to crop the image...or did you want to do it in php?

 

Hehe, yeah it has to be dynamic.

 

I am making a web app that the user should be able to put there url into and it will load up a screen shot of it.

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.