We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing a function to quickly get the colors of a line 1 pixel long 40 pixels wide. No coordinates work when entered into the colorAt function.
Error: Requested coordinates are outside the main screen's dimensions.
(I have two monitors but have tested with one turned off and received the same results)
An array should be built containing all color values in the previously mentioned line.
The following error is spouted.
1.Take a screenshot of any width and length 2.Attempt to use the colorAt function
`
const array_load = await screen.capture(710 - (i * 67), 80, 40, 1); let pixel_array = []; for(let i = 0; i < 40; i++){ pixel_array.push(array_load.colorAt(i, 1)) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Writing a function to quickly get the colors of a line 1 pixel long 40 pixels wide. No coordinates work when entered into the colorAt function.
Error: Requested coordinates are outside the main screen's dimensions.
(I have two monitors but have tested with one turned off and received the same results)
Expected Behavior
An array should be built containing all color values in the previously mentioned line.
Current Behavior
The following error is spouted.
Error: Requested coordinates are outside the main screen's dimensions.
Steps to Reproduce (for bugs)
1.Take a screenshot of any width and length
2.Attempt to use the colorAt function
Context
`
`
Your Environment
The text was updated successfully, but these errors were encountered: