LCMS logo

Simplified Python binding to LittleCMS2 library. This extension was created specially for SwatchBooker project. Nevertheless it can be used as a standalone package.

python-lcms2 emulates python-lcms interfaces for backward compatibility. So you just need to replace in your code 'lcms' imports by 'lcms2'.

This extension allows to translate color values between different colorspaces. Now RGB, CMYK, Gray, Lab and XYZ colorspaces are supported with 8bit, 16bit and double precise depths.