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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9785b2b42cb00cc0eb9b296be81460433d62505a867da0785952eed0a47d1dd |
|
MD5 | 92b781e5a3a0f4c2532dd5979ef769c4 |
|
BLAKE2b-256 | 086fa86b200eacbdbb39aca5ef555bcf715596c9659f54c4303394bed24305da |