Jump to content

Color of a screen pixel: Difference between revisions

m (Fix Perl 6 -> Raku calling conventions)
Line 761:
long_colour = win32gui.GetPixel(i_desktop_window_dc, i_x, i_y)
i_colour = int(long_colour)
win32gui.ReleaseDC(i_desktop_window_id,i_desktop_window_dc)
return (i_colour & 0xff), ((i_colour >> 8) & 0xff), ((i_colour >> 16) & 0xff)
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.