Skip to content

9021007/GetPixelColor

Repository files navigation

GetPixelColor

A cross-platform python library for getting the color of a given pixel on screen.

img Downloads Downloads

  • Compatible with MacOS, Windows, and Linux.
  • Transparency data only available on some platforms.

Examples:

Make sure you first import getpixelcolor

Get color of a specific pixel: getpixelcolor.pixel(x, y)

(R, G, B, (A))

Get average color of an area: getpixelcolor.average(x, y, width, height)

(R, G, B, (A))

Get all color values of an area: getpixelcolor.area(x, y, width, height)

[[[R, G, B, (A)]]]

https://pypi.org/project/GetPixelColor/

About

A cross-platform python library for getting the color of a given pixel on screen.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published