How can I render HTML content to GIF image?
I found how to render it to PDF using reportlab, but no luck with GIF.
I want something like xhtml2pdf.com but final result should be not in pdf, but in image.
How can I render HTML content to GIF image?
I found how to render it to PDF using reportlab, but no luck with GIF.
I want something like xhtml2pdf.com but final result should be not in pdf, but in image.
There's a similar SO question, http://stackoverflow.com/questions/126131/python-library-for-rendering-html-and-javascript , but I'm not sure the answers are satisfying.
I might try two-stage rendering: HTML -> pdf -> gif. In that case, reportlab gets you pdf, and PythonMagick (http://wiki.python.org/moin/ImageMagick) can convert the pdf to GIF.