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.14.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for GetPixelColor-0.2.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dddb7c6821a39fa112db6a7d41a9bac1fc71a7e41e57440ff7df69fb160a381 |
|
MD5 | 211aec82b95e2c86033fcf2594da664f |
|
BLAKE2b-256 | f6b014b6e896e4248c533fee592956129aba90501b11c8384193a2177f5ea2c0 |