How to read binary data in IE9?

后端 未结 2 1637
梦谈多话
梦谈多话 2021-01-31 19:15

I\'m working on some Javascript code that creates an alpha mask of a image using paths embedded by Photoshop. The onload handler of a IMG tag would call a clip(this). The functi

2条回答
  •  臣服心动
    2021-01-31 19:52

    If you want to be assured you get wider range of compatibility, you can also use the compatibility.js file included in the PDF.js distribution under the "web" directory. Get PDF.js from Mozilla Github, decompress the zip archive and include the compatibility.js file from the above directory. It also makes PDF.js library work in e.g. IE9

提交回复
热议问题