16,553
社区成员
发帖
与我相关
我的任务
分享
Do Until y = jpgimage.Height '把图片读取到ptoall二维数组里
Do Until x = jpgimage.Width
ptoall(x, y) = jpgimage.GetPixel(x, y)
x = x + 1
Loop
x = 0
y = y + 1
Loop
using B As New DSAPI.图形图像.图像识别(Me.BackgroundImage)
For I as integer=0 to me.backgroundimage.width-1
for J as integer=0 to me.backgroundimage.height-1
ptoall(i,j)=获取指定坐标颜色(i,j)
next
next
end using