Commit b815760a by doszhang

dos

parent f304ef38
......@@ -463,7 +463,7 @@ function bindUpload(that, ctx, myCanvas, index, callback, imgInfo) {
var objectImg = new Image();
objectImg.crossOrigin = "Anonymous";
objectImg.setAttribute('crossOrigin', 'anonymous');
console.log(objectImg);
console.log(img);
objectImg.onload = function () {
if (rotation === 90 || rotation === 270) {
width = objectImg.height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment