Skip to main content

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.

img

  • 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)]]]

https://pypi.org/project/GetPixelColor/

Project details


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 hashes)

Uploaded Source

Built Distribution

GetPixelColor-0.2.19-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page