How to convert HTML to JPG?

They have: 4 posts

Joined: Apr 2006


I'm looking for a way to convert a html page into JPG or GIF. The solution should be server based, so visitors don't need to download or install anything on their PCs. When they visit my site, I'd like to provide a button that says "Convert to JPG". They click on it, I generate the html, and the tool then converts it to JPG and lets the visitor save it as JPG.

I'm using a Linux server, and have tried installing html2image demo version (by but it does not work. I'm waiting for their reply (if they ever reply).

Also referring to this thread:

It says the solution works only with a Window's server. Is that really true? Because if so, I could register a new domain on a Windows server solely for converting the html to JPG. There's also the question whether shared web hosting companies allow software to be installed on their server.

I suspect these converters run on a local Window's PC, but I need it to be server based.

Any way that I could achieve that?


They have: 33 posts

Joined: Apr 2010

The site you refered to is now showing a landing page. Did you type the address correctly? Also i have never heard a solution for such scenerion.

1 sec, searching for your requirements, i got this interesting solution: written in python language. Check it and tell whether it works!!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.