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.6.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ddffa0d47f2c2345e2b69d2e18103d2e5f61cf55f4beaf27d3605c8629f2510 |
|
MD5 | ac843f5725b280e2fcca82fdaa66a564 |
|
BLAKE2b-256 | a58b121041ecfa437ad042e47b6800287e821faba21fd53c7192e8d7908846f8 |