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

Uploaded CPython 3.13Windows x86-64

cietools-0.2.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl (43.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.5+ x86-64

cietools-0.2.1-cp313-cp313-macosx_10_13_universal2.whl (26.3 kB view details)

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

File details

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

File metadata

  • Download URL: cietools-0.2.1-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.2.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8ba0ee505678a5b52fb5a248dabedf0015be6686c652904029d55ec7a0c82bf9
MD5 d5d496628cca62db1924b0b4d2322e9b
BLAKE2b-256 3cfb65efe660f498df0b375eafc4d660ed5d1bdfbe5f9c7df1217ab3bd6b3956

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cietools-0.2.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e91078120e2f925acde29e1047e9e6396c75c6d87c6114d2021279ea93ef1fde
MD5 7ff933ad7151a9c6cb938480e88be20c
BLAKE2b-256 895507411e8a7613eb8edd57a25d64616c4abb2199450d3894c470e6853d99dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cietools-0.2.1-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 2d39a81e45405e05d7ee650ce02cb9723a780e3739ac8626fe4c0dcb483a00c1
MD5 5b7416116de136b70149281e38feff44
BLAKE2b-256 176c0710c104dee0ed013fa50075ab4f6155295f6cc24f6a3703b25e9bf0ac9a

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