Skip to main content

Jit compiled color conversion.

Project description

JCCC

This package provides several color conversion methods that are compatible with numba. It also provides a 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

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

jccc-0.1.2.tar.gz (616.4 kB view details)

Uploaded Source

Built Distribution

jccc-0.1.2-py3-none-any.whl (616.0 kB view details)

Uploaded Python 3

File details

Details for the file jccc-0.1.2.tar.gz.

File metadata

  • Download URL: jccc-0.1.2.tar.gz
  • Upload date:
  • Size: 616.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.1 Darwin/22.6.0

File hashes

Hashes for jccc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cae0534628cef3bca0dbaaf8dec610cf00d313a901159c3c22de5f48d342e8e8
MD5 cf9630ff66d6aa136d0127e982a6bb18
BLAKE2b-256 876aff499d7772484447ee51643c21674ffab0fc28e75be1b3c66635ba2c0b7c

See more details on using hashes here.

File details

Details for the file jccc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: jccc-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 616.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.1 Darwin/22.6.0

File hashes

Hashes for jccc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7202384f955cb4c8397c84b21c147437f7ece0ab311ea8b9ee208f8751483179
MD5 bb9371c0c63b347de7f5110ddf8afe29
BLAKE2b-256 edb2e956b682712aed95eee507d0f12f3e6686b75ce2c4e8419378841be771bc

See more details on using hashes here.

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