PixelColor
Description: Get the screen pixel color
Copyright: 2022 Fabio Castelli (Muflone) muflone@muflone.com
License: GPL-3+
Source code: https://github.com/muflone/pixelcolor
Documentation: http://www.muflone.com/pixelcolor/
Description
PixelColor is a command line tool to get the color of a pixel from the screen.
You can simply pass the pixel coordinates (X and Y) and the pixel color will be printed as result.
System Requirements
- Python 3.x
- Pillow 9.3.0 (https://pypi.org/project/Pillow/)
Usage
PixelColor is a command line utility and it requires some arguments to be passed:
pixelcolor --x <X> --y <Y> [--display <DISPLAY>] [--triplets] [--hex] [--upper]
The arguments --x and --y refer to the pixel coordinates as left and top
positions (the first pixel is always 1x1).
The argument --display is the graphical display to use (the DISPLAY
variable).
The argument --triplets will return the pixel color value as a triplets of
colors (red, green, blue).
The argument --hex will show the colors as hexadecimal values.
The argument --upper will return the hexadecimal digits as upper case.
An example to execute PixelColor will be the following:
pixelcolor --x 100 --y 200 --hex
This will print the pixel color at coordinates 100x200.
Metadata
Release files for PixelColor 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PixelColor-0.2.0.tar.gz | 4.7 kB | Without provenance | Details for PixelColor-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PixelColor-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for PixelColor-0.2.0-py3-none-any.whl |
Total release size: 12.6 kB
Release files / PixelColor-0.2.0.tar.gz
| Download URL | PixelColor-0.2.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d0890be8c040b2a4d859d43ded48c0ece22d5526475c529cf916aa741f7dbf1
|
|
BLAKE2b-256 checksum How to use checksums |
0d0a609d86bbfcf3f79e76bc8cbc3f127919df7b367ccf04d64e444af97bdab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / PixelColor-0.2.0-py3-none-any.whl
| Download URL | PixelColor-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5581e2083315ec2d8abd78cf5530a5dea0629760599d72060aa76decbc112551
|
|
BLAKE2b-256 checksum How to use checksums |
e14034e3c133ac3181daeb03799383fcc8b6248f61aa67f47781b8e9ef1c592b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Security for PixelColor 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.