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

Uploaded Source

Built Distribution

jccc-0.1.2-py3-none-any.whl (616.0 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