会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
天马3798
Not at All
新随笔
订阅
管理
2016年1月4日
canvas.toDataURL(type, args)
摘要: canvas.toDataURL(type, args)该方法能够将canvas转换为图像,图像是基于Base64编码的。如果不指定两个参数,无参数调用该方法,转换的图像格式为png格式 •type:指定要转换的图像格式,如 image/png、image/jpeg等。•args:可选参数。例如,如
阅读全文
posted @ 2016-01-04 18:07 天马3798
阅读(2503)
评论(0)
推荐(0)
编辑
公告