-
domtoimage
.toPng(sealImgRef.current, {
style: {},
}).then((dataUrl) => {
//Does not capture the image
}).catch((error)=>{
//Does not throw any error
});
The problem …
-
in safari, can't translate Img with svg href toPNG
### Expected Behavior
can translate Img with svg href toPNG
### Possible Solution
### Steps To Reproduce
please open the…
-
Hi,
I'm trying to exclude a div from my component before converting in jpeg.
`const filter = (node) =>{
const exclude = ['add-button']
return (!exclude.some(classname => node.classList…
-
截屏是可以做的,但需要把需要截屏的`element`确定好,另外需要处理截屏的布局,考虑放在一个popup里面或者放在页面其他元素的上面
```
测试用户
截屏
function screenshot() {
htmlToImage.toPng(docume…
bhlll updated
2 years ago
-
There is an issue I have surfaced on mobile devices - particularly using Safari where the first render of the image is completely broken, formatting issues, font issues etc.
On refresh these are re…
-
I'm using **html-to-image** to convert my certain component to image. My component contains some images which are placed in tag. As images are rendering fine in browser but for some reason when my ht…
-
### Are you requesting a feature, reporting a bug or asking a question?
Reporting a bug.
### What is the current behavior?
If an html element contains an html entity (ex. `’`), it fai…
-
Hello,
Do you have a solution that would allow complete printing of the gantt?
Best regards.
-
html-to-image returns a blank screenshot, for the chart antd-desgin
the function is as follows
```
const takeScreenshot = async (node: HTMLDivElement) => {
const dataUrl = await htmlToImage.…
-
An "**typeerror: assignment to constant variable**" error occurred after the project was builded with **Webpack 3.6.0**. While running on the development mode everything is ok.
### Additional Con…