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.12.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a70d375ba70f018ecaa84ea59b2237002e656c94ebc8c151663b16c7656f0009 |
|
MD5 | 363cc67a0f8d7d1d982a699855c90db2 |
|
BLAKE2b-256 | a55b232e06890123826041a4dc928baab6ea03f4bc624a873d983191053912fd |