qq15725 / modern-screenshot

📸 Quickly generate image from DOM node using HTML5 canvas and SVG
https://www.toolpkg.com/image/html-to-image
MIT License
457 stars 32 forks source link

Im getting low quality when exporting with domToJpeg and domToBlob #93

Open jagabs opened 1 month ago

jagabs commented 1 month ago

First, this library is amazing! Images are loading in safari. I used html-to-image previously and the quality is good but the images are not rendered properly.

const blobDiv = await domToJpeg(div, { quality: 1 }); am i doing anything wrong? I was using html-to-image

trovellar com 26 Screenshot 2024-06-09 at 02 05 23