A cross-platform python library for getting the color of a given pixel on screen.
Project description
GetPixelColor
A cross-platform python library for getting the color of a given pixel on screen.
- Compatible with MacOS, Windows, and Linux.
- Transparency data only available on some platforms.
Examples:
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)]]]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GetPixelColor-0.2.15.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229dfa1f606036c1f56ca3a2e7499ca4529474d3b8b7d50533c1def2e7faf58b |
|
MD5 | 82de4d3420815454722dc1fe48796271 |
|
BLAKE2b-256 | 770627f5ccc82ed905748aa4c6e5eb4511d7b9dd9c4156dfc59175b065d3b2f5 |