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.1.0-cp313-cp313-win_amd64.whl (34.7 kB view details)

Uploaded CPython 3.13Windows x86-64

cietools-0.1.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl (51.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.5+ x86-64

cietools-0.1.0-cp313-cp313-macosx_10_13_universal2.whl (34.8 kB view details)

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

File details

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

File metadata

  • Download URL: cietools-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 34.7 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.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 20d5af0c493f2fdae5ffc8975d940e21678f51cd1df6e77248b10cb37883f137
MD5 5199482da81c3c12523b78871d508b21
BLAKE2b-256 710221ffc3fae131e591aa43f171881a8d20b3084a0e99ac96390f902d6dd9ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cietools-0.1.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1b82d1a1f75969e695f7edb201d1f07ba8d9cb725d2e969955dfc61e86af09d5
MD5 1071b2acbbc34a8b274469b5b3afa393
BLAKE2b-256 c5145abe99b4b693ddf273852b5936893fbf28541a6c8103d218a911443f4a5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cietools-0.1.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 779901d5f13a1b268847e97151a9dc2a0293a030096c3c4b5b7112ec36c91625
MD5 3f2073b1c375e6aed3425ecd1d4d858b
BLAKE2b-256 38efdf020e140097d8c1fb6beba23fe19ca6f47b3baf1d6b8020e386bb1ac444

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