Python Little CMS
A minimalistic module to utilize Little CMS to apply color profiles to 16 bit TIFF images.
Motivation
Currently there seems to be no python packages available to apply color profiles to 16 bit TIFF images. Pillow has built in support for Little CMS, but does currently not have 16 bit support for RGB images.
Installation
git submodule update --init
python setup.py bdist_wheel --build-type Release
Then install the wheel present in the dist
folder.
Example
To run the example you need a 16 bit TIFF image and a color profile, for example
a *.icm
file.
Then run
python example.py your_image.tif your_profile.icm
and have a look at the generated image your_image-transformed.tif
.