tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.32k stars 1.68k forks source link

how to set background image without blurr #195

Closed vishaltatva closed 6 years ago

vishaltatva commented 6 years ago

I have html div with background image, and using domtoimage to convert from div to image. Actually I want to create image with 600 DPI, so I scale the div with 6.25(600/96) to get 600 DPI. This gradually breaks the clarity of background image. Any solution for this to get good background image?