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 be 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.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9233cf7bcbf1927a41d07413e4d31d173f4e612bd8ac199ea308b697f2d685ed |
|
MD5 | 956403f4579d2c622f07489f26ecef06 |
|
BLAKE2b-256 | c28b5f8fc9f748eb3f3c301d5c0b2bf95e4fb5e4d06798068ccfd9a52405bcfc |