Skip to content

Simple Test Fails #187

@DS256

Description

@DS256

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions