YellowCard icon indicating copy to clipboard operation
YellowCard copied to clipboard

选牌疑问

Open deng2639303289 opened this issue 4 years ago • 1 comments

大佬源代码里面捕获截图的参数是哪个,2k屏改成1080+无边框很难受,窗口强行拉伸。

deng2639303289 avatar Oct 27 '20 06:10 deng2639303289

原理是监控特定位置的坐标. 把这一句里面的xy坐标改掉就可以了.

# 获取xy位置处的颜色
hdc_color = win32gui.GetPixel(dc, xy[0], xy[1])

不过你这样就得自己找一个监控点颜色范围了. 不过版本更新好几次后原来设置的颜色范围已经经常失灵,确实应该更新了

bode135 avatar Oct 27 '20 07:10 bode135