admin管理员组文章数量:1415484
Today, I saw this article on Twitter about getting Webm data from a canvas:
He uses "image/webp" as a parameter to canvas.toDataURL();
I know that you can pass image/jpeg
and image/png
but are there are more than that?
I have tried searching for this, but cant find a list
Thanks AH
Today, I saw this article on Twitter about getting Webm data from a canvas: http://ericbidelman.tumblr./post/31486670538/creating-webm-video-from-getusermedia
He uses "image/webp" as a parameter to canvas.toDataURL();
I know that you can pass image/jpeg
and image/png
but are there are more than that?
I have tried searching for this, but cant find a list
Thanks AH
Share Improve this question asked Sep 14, 2012 at 10:15 Andrew HallAndrew Hall 3,07323 silver badges30 bronze badges1 Answer
Reset to default 5Check the document.
Chrome supports the image/webp
type.
本文标签: javascriptValid parameters for canvastoDataURL()Stack Overflow
版权声明:本文标题:javascript - Valid parameters for canvas.toDataURL() - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745233832a2648940.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论