You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to implement a download button next to the smiles, I use SVG to render the smiles. but I am wondering if I can be able to download an image format like PNG of the smiles
The onCopy function can transfer svg dom string (fetched from outerHTML() of SVGSVGElement) to img/png blob object in clipboard. Please ignore the UI code irrelated to this package. Feel free to follow-up if there's something unclear.
Also canvas renderer provides more flexibility. Ref: #89
I want to implement a download button next to the smiles, I use SVG to render the smiles. but I am wondering if I can be able to download an image format like PNG of the smiles
Should I use an
img
element, an inline data or BLOB that can be used to make the download?The text was updated successfully, but these errors were encountered: