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)
Built Distributions
Close
Hashes for palettetools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eedfb9d70007c76f7b38ba056cf0450c2f9a109e85798649bfeb7e14ba6a2ce3 |
|
MD5 | d0811be59bf79e0a3387b1a7a15624f5 |
|
BLAKE2b-256 | 507351a87f58888de6a178c4422866308ca28213446e31b78d658a7a39648128 |
Close
Hashes for palettetools-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bff20a049e077cd3e63ecf3405c1421e04151ac2d541f455cf6488a58eb19b26 |
|
MD5 | c71e155ae97eb54e7d4995b44d96afa4 |
|
BLAKE2b-256 | 99b8e6086edbee1b301da3d3b6b78e8edd98f58725761c12b7f23940ac9f1bf6 |