Skip to main content

A C-based python library to convert CIE formats/calculate Delta E

Project description

CIE Tools

Convert Formats: RGB/XYZ/LAB/LCH

import cietools

rgb = (150, 24, 51)
xyz = cietools.rgb2xyz(rgb)
lab = cietools.rgb2lab(rgb)
lch = cietools.rgb2lch(rgb)

...
lch_from_xyz = cietools.xyz2lch(xyz)
rgb_from_lch = cietools.lch2rgb(lch)

Calculate Delta E 76/94/CMC/2000

import cietools

lab1 = (43.54, 54.58, 22.87)
lab2 = (43.54, 60.58, 87.87)

delta_76 = cietools.deltaE76(lab1, lab2)
delta_94 = cietools.deltaE94(lab1, lab2)
delta_cmc = cietools.deltaE_CMC(lab1, lab2)
delta_2000 = cietools.deltaE2000(lab1, lab2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cietools-0.3.1-cp313-cp313-win_amd64.whl (34.5 kB view details)

Uploaded CPython 3.13Windows x86-64

cietools-0.3.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl (45.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.5+ x86-64

cietools-0.3.1-cp313-cp313-macosx_10_13_universal2.whl (27.2 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file cietools-0.3.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: cietools-0.3.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for cietools-0.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0d1187e4b6f37605eb60cd872365b3fd08147869434d7a691038b526c99c404a
MD5 dfc81f1c6cac2cdb13ad97543f3df901
BLAKE2b-256 1d9e92d5bdde0d5403716abe7d0785e7fb34d222c2b1abccbbd59cea87999788

See more details on using hashes here.

File details

Details for the file cietools-0.3.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for cietools-0.3.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1cbee5d9342d5d79588f3d3c7fc496cb53e323f377588f1e8caef4cfb1850353
MD5 c9180ee9b6693ccb524d50458af8ea1e
BLAKE2b-256 55b2e66bea038f061e2057440afbff709112ae933eb04f48b0230ae450b683e4

See more details on using hashes here.

File details

Details for the file cietools-0.3.1-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for cietools-0.3.1-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 aad608083a3bb54978f9c2eea1de607147d5699f6d0cbd6d40a2e5965bd50b59
MD5 2c1a35e647a81628905349dbffd34457
BLAKE2b-256 a2afeca9f713c3d36d8996093b70a40299749bc9ef21673e816b0261d8d75747

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page