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

### Description Add support for `mask` and `mask-image` properties for browsers that support them via webkit. ### Motivation and Context ### Types of changes - [x] Bug fix (non-breaking change...

PR: unreviewed

Font size is being shrink and causes extra space below paragraphs. Please see attatched image. ![bug report](https://github.com/bubkoo/html-to-image/assets/32562844/6e4d57f7-7b4f-4b9d-b86a-61a861b8e482) ### Expected Behavior Font size should not be shrink so that paragraphs should...

bug

### Expected Behavior Google maps is getting zoomed in/out incorrectly most likely due to the weird width & height it gets rendered in. On screen it looks fine but after...

bug
potential-duplicate

### Description Width and height properties were set using the setAttribute method on canvas. ### Motivation and Context - I have identified a problem with the image created by the...

bug
PR: unreviewed
fix

### Description Workaround for respecting scrollbar positions ### Motivation and Context Fix #345 and #81. Just setting scrollLeft and scrollTop is not working, therefore this change simulate it by translate...

PR: unreviewed

### Description Add a new parameter extraStyleContent which can be used to pass extra css code to resulting svg. ### Motivation and Context This change can be used to fix...

PR: unreviewed

### Expected Behavior I'm trying to download html including an ```img``` tag using safari, but the source doesn't show up, just an empty ```div```. ### Current Behavior I have a...

bug

### Description Incorrect usage of `image.decode` ### Motivation and Context https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decode ### Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature...

PR: unreviewed
fix

### Description add open in new tab example for toBlobs, for fast testing result ### Motivation and Context ### Types of changes - [ ] Bug fix (non-breaking change which...

needs-more-info
PR: unreviewed

for now use workaround : ```ts type Options = Parameters[1] ``` ### Description ### Motivation and Context ### Types of changes - [ ] Bug fix (non-breaking change which fixes...

PR: unreviewed