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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a similar SO question, 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.