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.19.tar.gz
(8.7 kB
view details)
Built Distribution
File details
Details for the file GetPixelColor-0.2.19.tar.gz
.
File metadata
- Download URL: GetPixelColor-0.2.19.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a8953d09e711216f366c019b44ad08cb3cf1fc57b948a01ac35f92f309bf538c
|
|
MD5 |
9069482b3740567ddf309d8792857b8c
|
|
BLAKE2b-256 |
8814751ad96804e3ab8ab332f82df8510ac080d38b900ba6c08b9712964d7fc0
|
File details
Details for the file GetPixelColor-0.2.19-py3-none-any.whl
.
File metadata
- Download URL: GetPixelColor-0.2.19-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9628b6fd3ac2d3c0b152a8237cd609a5e6b481ce74ffdbf6f902dcaff28df2d6
|
|
MD5 |
ef7e2f549e13537a02c33169a78e6ce0
|
|
BLAKE2b-256 |
31fe2519b3a8affb383f40ffa9c771fe2f09f0d08249b125be7c81c3898cfccd
|