html-to-image icon indicating copy to clipboard operation
html-to-image copied to clipboard

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

Results 144 html-to-image issues
Sort by recently updated
recently updated
newest added

I have an element that uses an SVG with a gradient. When I try and download it the result is missing the gradient and is just transparent. No errors are...

bug

…d up in the exception ### Description ### Motivation and Context We had a problem with generating an image when html contained pictures with src pointing to a domain which...

PR: unreviewed
fix

I get the following error when having a chat widget on my website and the download of the image fails or sometimes it succeeds but gets the screenshot incorrectly by...

bug

Fixes the handling of font css when cssRules are inaccessible. ### Description When cssRules are inaccessible in a style sheet, getCSSRules will throw an exception trying to read them, and...

PR: unreviewed
fix

### Expected Behavior I'm trying to get a snapshot of a SVG element that used some SVG `use`. ### Current Behavior ![image](https://github.com/bubkoo/html-to-image/assets/5856677/1ed51ac4-c63a-4281-909a-70f46a890448) Above the button is the source SVG image,...

bug

### Expected Behavior On IOS 13 iPhone devices, when clicked on download the download manager displays "view" or "Download" options, when chosen view option the PNG image preview to open....

bug

### Description change canvas.drawImage(video) size from clientWidth、clientHeight to videoWidth、videoHeight ### Motivation and Context To fix the problem of image deformation。for example: ![image](https://github.com/bubkoo/html-to-image/assets/52031749/8ddc2ca6-1e4e-4b82-9703-4ae21ea323d5) ### Types of changes - [x] Bug fix...

PR: unreviewed

The html is converted to png without the images included in the html block. It shows white background replaced instead of the images It happens sometimes not everytime, specially on...

potential-duplicate

Hi, When trying to generate an image with a SVG background-image that containes "url(#...)", I get an error 404 not found. Probably because the SVG contains something like this: ###...

bug

Setting a specific width and height so that the result is always de same and does not depend on the current viewport/device resolution. Result image is of the size asked...

bug