Hello,
I'm working on a little routine in Xcode and I want to read the color off a specific pixel on the screen (e.g. 100,100). I need this to work regardless whether this particular pixel is occupied by my program or something in the background. So if I for instance have something yellow in my application, on the desktop or another application in the background at 100,100 I want to read the yellow color, for instance as RGB.
I have tried various solutions, but I've come up empty. Any ideas and examples would be greatly appreciated!
I'm working on a little routine in Xcode and I want to read the color off a specific pixel on the screen (e.g. 100,100). I need this to work regardless whether this particular pixel is occupied by my program or something in the background. So if I for instance have something yellow in my application, on the desktop or another application in the background at 100,100 I want to read the yellow color, for instance as RGB.
I have tried various solutions, but I've come up empty. Any ideas and examples would be greatly appreciated!