I want to convert following HTML to PNG image in Python. For example:
<html>
<b>Bold text</b>
</html>
I have tried 'pisa' but it converts html to PDF, not to image. I can convert HTML to PDF and then convert PDF to PNG, but I was wondering if there is any direct solution.