naturalHeight ); // get the image data imgData = context.getImageData(0, 0, img. ... naturalHeight); // imgData contains r,g,b,alpha values.
確定! 回上一頁