-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I'm running in a Python 3.11.2 in a Virtual Environment on Raspberry PI Bookworm.
My HTM2IMAGE code recently stopped working after an RP OS update/upgrade.
I've created the following simple stand-alone representation of my code and it does not produce any output.
Looking for things I'm doing wrong
Thanks
from html2image import Html2Image
hti = Html2Image(size=(640, 340),\
custom_flags=['--quiet'],\
disable_logging=True,\
output_path=".")
css = 'body {background: rgb(204,204,204)}; }' # Match other graph colour
hti.screenshot(html_file="html2image.html", css_str=css, save_as="t.jpg") # Convert HTML to JPG
Metadata
Metadata
Assignees
Labels
No labels