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.7.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc8882a19eb0967159453cad2f7dbb332ab5c8b3f4738d52c298c7926c5fb0ec |
|
MD5 | 0cb4510117cb6705dd5c7f8c9a5061f8 |
|
BLAKE2b-256 | d7f773ede9107cd98fb694362057835f0359f2b349b77967b7a528fa72ae14de |