Skip to content

7inspire/canvas2image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

canvas2image

convert canvas to image 利用HTMLCanvasElement.toDataURL()的方法将canvas转成图片的data URI,传给img标签src则可以显示图片。 并添加了一些常用的方法,如下载,调整分辨率,清晰度优化等。

About

convert canvas to image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published