Commit bb0d1f6c by doszhang

dos

parent 839b737a
......@@ -229,6 +229,7 @@ $(document).ready(function () {
uploadctx.scale(scale, scale);
uploadedImg.width = width;
uploadedImg.height = height;
alert(uploadedImg.width * uploadedImg.height)
uploadctx.translate(uploadedImg.width / 2, uploadedImg.height / 2);
uploadctx.scale(scale, scale);
uploadctx.rotate(Math.PI / 180 * rotation);
......
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