canvas.toDataURL()的有效参数

And*_*all 2 javascript canvas html5-canvas

今天,我在Twitter上看到了有关从画布获取Webm数据的文章:http ://ericbidelman.tumblr.com/post/31486670538/creating-webm-video-from-getusermedia

他使用“ image / webp”作为参数 canvas.toDataURL();

我知道您可以通过image/jpegimage/png但还有更多吗?

我尝试搜索此文件,但找不到列表

谢谢AH

xda*_*azz 5

检查文件

Chrome支持该image/webp类型。