html-to-image
html-to-image copied to clipboard
✂️ Generates an image from a DOM node using HTML5 canvas and SVG.
### 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...
Font size is being shrink and causes extra space below paragraphs. Please see attatched image.  ### Expected Behavior Font size should not be shrink so that paragraphs should...
### 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...
### 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...
### 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...
### 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...
### 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...
### 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...
### 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...
for now use workaround : ```ts type Options = Parameters[1] ``` ### Description ### Motivation and Context ### Types of changes - [ ] Bug fix (non-breaking change which fixes...