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)
Metadata
Release files for cietools 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cietools-0.3.1-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| cietools-0.3.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.5+ x86-64 | Details |
| cietools-0.3.1-cp313-cp313-macosx_10_13_universal2.whl | CPython 3.13 | CPython 3.13 | macOS 10.13+ universal2 (ARM64, x86-64) | Details |
Total release size: 107.4 kB
Release files / cietools-0.3.1-cp313-cp313-win_amd64.whl
| Download URL | cietools-0.3.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 34.5 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0d1187e4b6f37605eb60cd872365b3fd08147869434d7a691038b526c99c404a
|
|
BLAKE2b-256 checksum How to use checksums |
1d9e92d5bdde0d5403716abe7d0785e7fb34d222c2b1abccbbd59cea87999788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.0 CPython/3.12.3
|
Release files / cietools-0.3.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | cietools-0.3.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 45.7 kB |
| Tags | CPython 3.13 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
1cbee5d9342d5d79588f3d3c7fc496cb53e323f377588f1e8caef4cfb1850353
|
|
BLAKE2b-256 checksum How to use checksums |
55b2e66bea038f061e2057440afbff709112ae933eb04f48b0230ae450b683e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.0 CPython/3.12.3
|
Release files / cietools-0.3.1-cp313-cp313-macosx_10_13_universal2.whl
| Download URL | cietools-0.3.1-cp313-cp313-macosx_10_13_universal2.whl |
|---|---|
| Size | 27.2 kB |
| Tags | CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
aad608083a3bb54978f9c2eea1de607147d5699f6d0cbd6d40a2e5965bd50b59
|
|
BLAKE2b-256 checksum How to use checksums |
a2afeca9f713c3d36d8996093b70a40299749bc9ef21673e816b0261d8d75747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.0 CPython/3.12.3
|