readAsDataURL (img); 方法, 在其onload事件中, 將用戶選擇的圖片讀入Image對象. 2) 在image對象的onload 事件中, 通過canvas 的canvas.getContext('2d') 的.
確定! 回上一頁