javascript - Valid parameters for canvas.toDataURL() - Stack Overflow

Today, I saw this article on Twitter about getting Webm data from a canvas:He uses "imagewebp&quo

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 badges
Add a ment  | 

1 Answer 1

Reset to default 5

Check the document.

Chrome supports the image/webp type.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745233832a4617794.html

相关推荐

  • javascript - Valid parameters for canvas.toDataURL() - Stack Overflow

    Today, I saw this article on Twitter about getting Webm data from a canvas:He uses "imagewebp&quo

    7小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信