-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
images.pixel函数可能有点问题 #350
Copy link
Copy link
Open
Labels
Bug 🐞 故障Confirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugsFeedback Awaited 🕒 等待反馈Waiting for the feedback from issue creater and issue will be closed if duration is over one monthWaiting for the feedback from issue creater and issue will be closed if duration is over one month
Metadata
Metadata
Assignees
Labels
Bug 🐞 故障Confirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugsFeedback Awaited 🕒 等待反馈Waiting for the feedback from issue creater and issue will be closed if duration is over one monthWaiting for the feedback from issue creater and issue will be closed if duration is over one month
images.pixel(binaryImg,x, y);
或者我改成binaryImg.pixel(x, y);
都报了同样的异常:
方法 images.pixel 调用失败. Index 1 out of bounds for length 1 (/data/user/0/org.autojs.autojs6/cache/tmp-scripts/tmp-1743492325949.js#22)
然而,x=0,y=0
长度怎么会越出边界?
甚至我硬编码手动把值改成x=1,y=1也是报一样的错误