Skip to main content

Color palette tools for processing imgix-served images.

Project description

A Python library for extracting and analyzing color palettes from images. All images must be served through Imgix, more information can be found at http://www.imgix.com.

  • Free software: BSD 2-Clause License

Installation

pip install palettetools

Documentation

To use the project:

import palettetools as pt
url = "https://assets.imgix.net/examples/bluehat.jpg"

print pt.extract_colors_css(url)
print pt.extract_colors_json(url)
print pt.overlaid_text_color(url)

Testing

To run the all tests run:

tox

Changelog

0.1.0 (2018-11-08)

  • First release on PyPI.

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

palettetools-0.1.0.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distributions

palettetools-0.1.0-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

palettetools-0.1.0-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 2 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