How can I turn a .png image into an array of rgb values? (Grayscale is fine as well)

前端 未结 0 1241
北海茫月
北海茫月 2021-02-01 08:28

I would like to create a program to play a game. To do this, I need to look at the screen and the only way I can think of is to turn a .png screenshot into an array of RGB value

相关标签:
回答
  • 消灭零回复
提交回复
热议问题