How to create a Blob object from image url?

前端 未结 2 1664
醉话见心
醉话见心 2021-01-26 11:03

I am using Winjs(javascript for windows 8 app). what I want is to create a simple blob object from a specific url of my static image by giving the path. What is the solution? An

2条回答
  •  遥遥无期
    2021-01-26 11:52

    URL.createObjectURL("") should work. I use it all the time. Test it with some other URLs. You could do it in debug mode in the JS console to make it easier.

提交回复
热议问题