html2image
html2image copied to clipboard
A package acting as a wrapper around the headless mode of existing web browsers to generate images from URLs and from HTML+CSS strings or files.
I am encountering an issue while utilizing version 2.0.3 of the platform. Specifically, when attempting to capture a screenshot of an HTML file that includes special characters, such as Chinese...
```python from html2image import Html2Image render = Html2Image(browser='edge', output_path='./tmp', temp_path='./tmp', keep_temp_files=True) img_path = render.screenshot(html_str='hello world', save_as=f'test.png')[0] print(img_path) ``` this code gives me an blank png. if i remove `temp_path='./tmp'` then...
Hello, I`m try to use html2image in Android apk and have error with rights to use '/tmp' folder. Could you add temp_dir for Android?