Open megaprimatus opened 1 year ago
@ser-zhm We ran into the same issue. Were you able to resolve it?
@ser-zhm We ran into the same issue. Were you able to resolve it?
No unfortunately not
Could you provide a reproducible example ? By providing the HTML file you're using for example. Also the issue regarding the size of the generated image could be related to a bug on a recent Chrome version, updating Chrome may at least resolve the size issue.
html2image --html "test.svg" --save "test.png" -v --size 38,38
SVG (unchanged from before):
Black background now:
Previously (have lost track of exactly when this started to fail):
(source repo where I'm doing this, with full history: https://github.com/devlooped/sponsors/tree/main/.github/avatars)
html2image version: 2.0.3 windows 11, ms edge Version 115.0.1901.188 (Official build) (64-bit) chrome: Versión 115.0.5790.110 (Build oficial) (64 bits)
I hope this helps!
Hi, For some reason the black border is now rendered with an image. I have a standard setup without any extra CSS styles. In addition the size is always rendered with 800x600px regardless my settings.