You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any news on this fix? :)
I'm using robotjs to create an Ambilight clone, however when using the following code, I don't seem to grab the correct pixels var img = robot.screen.capture(width-zoneSize, zoneSize, zoneSize, height-zoneSize);
height = screen height (1440)
width = screen width (2560)
zoneSize = 100
Am I correct in assuming that even though I don't grab from y=0, I should still iterate from 0 when running through the pixels with img.colorAt(x,y)?
It will work much better, but the captured image is twice as large. So you'll need to take that into consideration. You can use bitmap.save to see what I mean.
There something wrong with screen.capture on Mac for larger screens, the image comes out distorted. I'm looking into it now.
The text was updated successfully, but these errors were encountered: