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.16.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74c10d0f5d9669ac3f0fc80edaaed40c1b652f8f247e11a2d82f9ff7c35529c1 |
|
MD5 | 469cf1adc8264ef9efdddde2dcfdcb0a |
|
BLAKE2b-256 | 6710b3d651cc3db2759b4402e26bffd7329534fe6e5bdc0d2b28e68da93df9c0 |