# JCCC
This package provides several color conversion methods that are compatible with [numba](https://github.com/numba/numba). It also provides a [color quantization](https://en.wikipedia.org/wiki/Color_quantization) procedure, which can reduce an image to a set of predetermined pixels. This isn't ideal for compression tasks but is useful for tagging images with color names.
## Installation
```
pip install jccc
```
## Supported conversions
### RGB
- RGB --> HSV
- RGB --> HLS
- RGB --> XYZ
- RGB --> CIELAB
### HSV
- HSV --> RGB
- HSV --> HLS
- HSV --> XYZ
- HSV --> CIELAB
### HLS
- HLS --> RGB
- HLS --> HSV
- HLS --> XYZ
- HLS --> CIELAB
### XYZ
- XYZ --> RGB
- XYZ --> HSV
- XYZ --> HLS
- XYZ --> CIELAB
### CIE LAB
- CIELAB --> RGB
- CIELAB --> HSV
- CIELAB --> HLS
- CIELAB --> XYZ
Raw data
{
"_id": null,
"home_page": "https://github.com/garth74/jccc",
"name": "jccc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<3.12",
"maintainer_email": "",
"keywords": "jit,color conversion,python3",
"author": "Garrett Shipley",
"author_email": "garrett.shipley7+github@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/87/6a/ff499d7772484447ee51643c21674ffab0fc28e75be1b3c66635ba2c0b7c/jccc-0.1.2.tar.gz",
"platform": null,
"description": "# JCCC\n\nThis package provides several color conversion methods that are compatible with [numba](https://github.com/numba/numba). It also provides a [color quantization](https://en.wikipedia.org/wiki/Color_quantization) procedure, which can reduce an image to a set of predetermined pixels. This isn't ideal for compression tasks but is useful for tagging images with color names.\n\n## Installation\n\n```\npip install jccc\n```\n\n## Supported conversions\n\n### RGB\n\n- RGB --> HSV\n- RGB --> HLS\n- RGB --> XYZ\n- RGB --> CIELAB\n\n### HSV\n\n- HSV --> RGB\n- HSV --> HLS\n- HSV --> XYZ\n- HSV --> CIELAB\n\n### HLS\n\n- HLS --> RGB\n- HLS --> HSV\n- HLS --> XYZ\n- HLS --> CIELAB\n\n### XYZ\n\n- XYZ --> RGB\n- XYZ --> HSV\n- XYZ --> HLS\n- XYZ --> CIELAB\n\n### CIE LAB\n\n- CIELAB --> RGB\n- CIELAB --> HSV\n- CIELAB --> HLS\n- CIELAB --> XYZ\n",
"bugtrack_url": null,
"license": "BSD3",
"summary": "Jit compiled color conversion.",
"version": "0.1.2",
"project_urls": {
"Bug Tracker": "https://github.com/garth74/jccc/issues",
"Homepage": "https://github.com/garth74/jccc",
"Repository": "https://github.com/garth74/jccc"
},
"split_keywords": [
"jit",
"color conversion",
"python3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "edb2e956b682712aed95eee507d0f12f3e6686b75ce2c4e8419378841be771bc",
"md5": "bb9371c0c63b347de7f5110ddf8afe29",
"sha256": "7202384f955cb4c8397c84b21c147437f7ece0ab311ea8b9ee208f8751483179"
},
"downloads": -1,
"filename": "jccc-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb9371c0c63b347de7f5110ddf8afe29",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<3.12",
"size": 616028,
"upload_time": "2024-01-18T00:32:41",
"upload_time_iso_8601": "2024-01-18T00:32:41.822888Z",
"url": "https://files.pythonhosted.org/packages/ed/b2/e956b682712aed95eee507d0f12f3e6686b75ce2c4e8419378841be771bc/jccc-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "876aff499d7772484447ee51643c21674ffab0fc28e75be1b3c66635ba2c0b7c",
"md5": "cf9630ff66d6aa136d0127e982a6bb18",
"sha256": "cae0534628cef3bca0dbaaf8dec610cf00d313a901159c3c22de5f48d342e8e8"
},
"downloads": -1,
"filename": "jccc-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "cf9630ff66d6aa136d0127e982a6bb18",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<3.12",
"size": 616434,
"upload_time": "2024-01-18T00:32:43",
"upload_time_iso_8601": "2024-01-18T00:32:43.327588Z",
"url": "https://files.pythonhosted.org/packages/87/6a/ff499d7772484447ee51643c21674ffab0fc28e75be1b3c66635ba2c0b7c/jccc-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-18 00:32:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "garth74",
"github_project": "jccc",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "jccc"
}